Apache Zeppelin not loading in a browser in windows 10

有些话、适合烂在心里 提交于 2021-02-19 06:29:04

问题


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 


回答1:


To install Zeppelin 9.0 on Windows 10:

  1. Unzip the wan folders (with Winrar) into bin/zeppelin-web-angular/dist and bin/zeppelin-web/dist.

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




回答2:


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/




回答3:


I got the same issue. I posted same query on official website of zeppelin on which some one replied that zeppelin is not supported on window 10.

https://issues.apache.org/jira/browse/ZEPPELIN-4749?filter=-2

I tried with 0.9, 0.8, 0.7 version of zeppelin, none of them working[on window 10] and show same blank url on localhost:8080. But recently now I have downloaded 0.6.2 version to find that this version is running fine. So I think we have to work on lower version of zeppelin or if you are using ubuntu all the version will run fine.




回答4:


The current answer by the developers is that zeppelin 0.9 will not work on windows 10.

On windows 10, you can run zeppelin 0.9 in a docker container as a workaround

Refer to the instructions on this page http://zeppelin.apache.org/download.html

If you have docker installed, use this command to launch Apache Zeppelin in a container.

docker run -p 8080:8080 --rm --name zeppelin apache/zeppelin:0.9.0



回答5:


I tried this version http://www.apache.org/dyn/closer.cgi/zeppelin/zeppelin-0.8.1/zeppelin-0.8.1-bin-netinst.tgz and it successful




回答6:


I also tried with Zepplin 0.9.0 on windows 10. working fine.

  1. Go to bin -> mkdir -p zeppelin-web-angular/dist and mkdir -p zeppelin-web/dist
  2. Copy zeppelin-web-angular-0.9.0-preview2.war and zeppelin-web-0.9.0-preview2.war into dist folder respectively
  3. unzip it
  4. remove war files from dist folder
  5. start Zepplin.cmd


来源:https://stackoverflow.com/questions/61078714/apache-zeppelin-not-loading-in-a-browser-in-windows-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!