Windows 10的浏览器中未加载Apache Zeppelin [英] Apache Zeppelin not loading in a browser in windows 10

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

问题描述

我按照此处提到的步骤

以下链接对于设置Windows 10的Zeppelin也是有用的, https://gist.github.com/codspire/7b0955b9e67fe73f6118dad9539cbaa2 https://hernandezpaul.wordpress.com/2016/11/14/apache-zeppelin-installation-on-windows-10/

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

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

Hadoop version -- 3.1.3

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

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 

解决方案

Possibly this workaround might help. "zeppelin-web-angular-0.9.0-preview1.war" comes along with the package as shown in below image, create required folders and then unzip the content. Post restarting the server, the web pages should be available.

Following links will be also useful to setup Zeppelin for windows 10, https://gist.github.com/codspire/7b0955b9e67fe73f6118dad9539cbaa2 https://hernandezpaul.wordpress.com/2016/11/14/apache-zeppelin-installation-on-windows-10/

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆