本文介绍了Apache Zeppelin 未加载到 Windows 10 的浏览器中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按照此处提到的步骤https://gist.github.com/codspire/7b0955b9e67fe73f6118dad9539cbaa2"一个>

I followed the steps mentioned here https://gist.github.com/codspire/7b0955b9e67fe73f6118dad9539cbaa2

在浏览器中输入localhost:8080"时没有任何反应

When entered "localhost:8080" in a browser nothing happens

Hadoop 版本 -- 3.1.3

Hadoop version -- 3.1.3

Spark 版本 -- 为 hadoop2.7 预构建的 3.0.0-preview

Spark version -- 3.0.0-preview pre-built for hadoop2.7

齐柏林飞艇版本 -- 0.9.0-preview1

Zeppelin version -- 0.9.0-preview1

    C:\Zeppelin>bin\zeppelin.cmd
    Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
    WARN [2020-04-07 16:29:59,113] ({main}ZeppelinConfiguration.java[create]:159) - Failed to load configuration, proceeding with a default
    INFO [2020-04-07 16:29:59,177] ({main} ZeppelinConfiguration.java[create]:171) - Server Host: 127.0.0.1
    INFO [2020-04-07 16:29:59,177] ({main} ZeppelinConfiguration.java[create]:173) - Server Port: 8080
    INFO [2020-04-07 16:29:59,178] ({main} ZeppelinConfiguration.java[create]:177) - Context Path: /
    INFO [2020-04-07 16:29:59,178] ({main} ZeppelinConfiguration.java[create]:178) - Zeppelin Version: 0.9.0-preview1
    INFO [2020-04-07 16:29:59,205] ({main} Log.java[initialized]:193) - Logging initialized @810ms to org.eclipse.jetty.util.log.Slf4jLog
    WARN [2020-04-07 16:29:59,516] ({main} ZeppelinConfiguration.java[getConfigFSDir]:631) - zeppelin.config.fs.dir is not specified, fall back to local conf directory zeppelin.conf.dir
    INFO [2020-04-07 16:29:59,554] ({main} Credentials.java[loadFromFile]:121) - C:\Zeppelin\conf\credentials.json
    INFO [2020-04-07 16:29:59,594] ({ImmediateThread-1586257199511} PluginManager.java[loadNotebookRepo]:60) - Loading NotebookRepo Plugin: org.apache.zeppelin.notebook.repo.GitNotebookRepo
    INFO [2020-04-07 16:29:59,658] ({main} ZeppelinServer.java[setupWebAppContext]:488) - warPath is: C:\Zeppelin\zeppelin-web-angular-0.9.0-preview1.war
    INFO [2020-04-07 16:29:59,659] ({main} ZeppelinServer.java[setupWebAppContext]:501) - ZeppelinServer Webapp path: C:\Zeppelin\webapps
    INFO [2020-04-07 16:29:59,729] ({ImmediateThread-1586257199511} VFSNotebookRepo.java[setNotebookDirectory]:70) - Using notebookDir: C:\Zeppelin\notebook
    INFO [2020-04-07 16:29:59,746] ({main} ZeppelinServer.java[setupWebAppContext]:488) - warPath is: zeppelin-web-angular/dist
    INFO [2020-04-07 16:29:59,747] ({main} ZeppelinServer.java[setupWebAppContext]:501) - ZeppelinServer Webapp path: C:\Zeppelin\webapps\next
    INFO [2020-04-07 16:29:59,811] ({main} NotebookServer.java[<init>]:153) - NotebookServer instantiated: org.apache.zeppelin.socket.NotebookServer@683dbc2c
    INFO [2020-04-07 16:29:59,812] ({main} NotebookServer.java[setServiceLocator]:158) - Injected ServiceLocator: ServiceLocatorImpl(shared-locator,0,246550802)
    INFO [2020-04-07 16:29:59,814] ({main} NotebookServer.java[setAuthorizationServiceProvider]:178) - Injected NotebookAuthorizationServiceProvider
    INFO [2020-04-07 16:29:59,814] ({main} NotebookServer.java[setNotebookService]:171) - Injected NotebookServiceProvider
    INFO [2020-04-07 16:29:59,814] ({main} NotebookServer.java[setConnectionManagerProvider]:184) - Injected ConnectionManagerProvider
    INFO [2020-04-07 16:29:59,815] ({main} NotebookServer.java[setNotebook]:164) - Injected NotebookProvider
    INFO [2020-04-07 16:29:59,816] ({main} ZeppelinServer.java[setupClusterManagerServer]:439) - Cluster mode is disabled
    INFO [2020-04-07 16:29:59,827] ({main} ZeppelinServer.java[main]:251) - Starting zeppelin server
    INFO [2020-04-07 16:29:59,829] ({main} Server.java[doStart]:370) - jetty-9.4.18.v20190429; built: 2019-04-29T20:42:08.989Z; git: e1bc35120a6617ee3df052294e433f3a25ce7097; jvm 1.8.0_241-b07
    INFO [2020-04-07 16:29:59,858] ({ImmediateThread-1586257199511} GitNotebookRepo.java[init]:77) - Opening a git repo at '/C:/Zeppelin/notebook'
    INFO [2020-04-07 16:29:59,967] ({main} StandardDescriptorProcessor.java[visitServlet]:283) - NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
    INFO [2020-04-07 16:29:59,982] ({main} DefaultSessionIdManager.java[doStart]:365) - DefaultSessionIdManager workerName=node0
    INFO [2020-04-07 16:29:59,982] ({main} DefaultSessionIdManager.java[doStart]:370) - No SessionScavenger set, using defaults
    INFO [2020-04-07 16:29:59,985] ({main} HouseKeeper.java[startScavenging]:149) - node0 Scavenging every 600000ms
    INFO [2020-04-07 16:30:02,046] ({main} ContextHandler.java[doStart]:855) - Started o.e.j.w.WebAppContext@6150c3ec{zeppelin-web-angular,/,jar:file:///C:/Zeppelin/zeppelin-web-angular-0.9.0-preview1.war!/,AVAILABLE}{C:\Zeppelin\zeppelin-web-angular-0.9.0-preview1.war}
    WARN [2020-04-07 16:30:02,051] ({main} WebInfConfiguration.java[unpack]:675) - Web application not found C:\Zeppelin\zeppelin-web-angular\dist
    WARN [2020-04-07 16:30:02,052] ({main} WebAppContext.java[doStart]:554) - Failed startup of context o.e.j.w.WebAppContext@229f66ed{/next,null,UNAVAILABLE}{C:\Zeppelin\zeppelin-web-angular\dist}
    java.io.FileNotFoundException: C:\Zeppelin\zeppelin-web-angular\dist
        at org.eclipse.jetty.webapp.WebInfConfiguration.unpack(WebInfConfiguration.java:676)
        at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:152)
        at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:506)
        at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:544)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:119)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:167)
        at org.eclipse.jetty.server.Server.start(Server.java:418)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
        at org.eclipse.jetty.server.Server.doStart(Server.java:382)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.apache.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:253)
    INFO [2020-04-07 16:30:02,906] ({main} AbstractConnector.java[doStart]:292) - Started ServerConnector@4493d195{HTTP/1.1,[http/1.1]}{127.0.0.1:8080}
    INFO [2020-04-07 16:30:02,906] ({main} Server.java[doStart]:410) - Started @4519ms
    INFO [2020-04-07 16:30:07,924] ({main} ZeppelinServer.java[main]:265) - Done, zeppelin server started

推荐答案

在 Windows 10 上安装 Zeppelin 9.0:

To install Zeppelin 9.0 on Windows 10:

  1. 将 wan 文件夹(使用 Winrar)解压到 bin/zeppelin-web-angular/distbin/zeppelin-web/dist.

然后修改配置文件shiro.ini,改变userpass(默认为adminpassword1)

Then modify the config file shiro.ini to change the user and pass (The default are admin and password1)

这篇关于Apache Zeppelin 未加载到 Windows 10 的浏览器中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!