Support Questions

Find answers, ask questions, and share your expertise

can't load the Zeppelin web UI

avatar

HI All,


I have deployed zeppelin in my Ubuntu instance (My private IP: 20.20.20.213) using the tgz file. I have changed the zeppelin-en.sh.template to zeppelin-en.sh and zeppelin-site.xml.template to zeppelin-site.xml. Also, I have configured my port in the site-xml file as 8090 and the server addrs as 0.0.0.0 default only. On checking the log file i get the following code:

I even tried to change the server addrs to 20.20.30.213 but still the same error I am getting. Please help!

ubuntu@ip-20-20-30-213:~/zeppelin/logs$ cat zeppelin-root-ip-20-20-30-213.log
 INFO [2019-06-12 17:24:41,675] ({main} ZeppelinConfiguration.java[create]:121)                                                                              - Load configuration from file:/home/ubuntu/zeppelin/conf/zeppelin-site.xml
 INFO [2019-06-12 17:24:41,850] ({main} ZeppelinConfiguration.java[create]:129)                                                                              - Server Host: 0.0.0.0
 INFO [2019-06-12 17:24:41,851] ({main} ZeppelinConfiguration.java[create]:131)                                                                              - Server Port: 8090
 INFO [2019-06-12 17:24:41,851] ({main} ZeppelinConfiguration.java[create]:135)                                                                              - Context Path: /
 INFO [2019-06-12 17:24:41,857] ({main} ZeppelinConfiguration.java[create]:136)                                                                              - Zeppelin Version: 0.8.1
 INFO [2019-06-12 17:24:41,959] ({main} Log.java[initialized]:193) - Logging ini                                                                             tialized @1311ms to org.eclipse.jetty.util.log.Slf4jLog
 WARN [2019-06-12 17:24:42,023] ({main} ServerConnector.java[setSoLingerTime]:45                                                                             😎 - Ignoring deprecated socket close linger time
 INFO [2019-06-12 17:24:42,087] ({main} ZeppelinServer.java[setupWebAppContext]:                                                                             413) - ZeppelinServer Webapp path: /home/ubuntu/zeppelin/webapps
 INFO [2019-06-12 17:24:42,208] ({main} ZeppelinServer.java[main]:239) - Startin                                                                             g zeppelin server
 INFO [2019-06-12 17:24:42,210] ({main} Server.java[doStart]:370) - jetty-9.4.14                                                                             .v20181114; built: 2018-11-14T21:20:31.478Z; git: c4550056e785fb5665914545889f21                                                                             dc136ad9e6; jvm 11.0.2+9-LTS
 INFO [2019-06-12 17:24:44,460] ({main} StandardDescriptorProcessor.java[visitSe                                                                             rvlet]:283) - NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspS                                                                             ervlet
 INFO [2019-06-12 17:24:44,486] ({main} DefaultSessionIdManager.java[doStart]:36                                                                             5) - DefaultSessionIdManager workerName=node0
 INFO [2019-06-12 17:24:44,487] ({main} DefaultSessionIdManager.java[doStart]:37                                                                             0) - No SessionScavenger set, using defaults
 INFO [2019-06-12 17:24:44,492] ({main} HouseKeeper.java[startScavenging]:149) -                                                                              node0 Scavenging every 600000ms
 INFO [2019-06-12 17:24:45,000] ({main} SchedulerFactory.java[<init>]:59) - Sche                                                                             duler Thread Pool Size: 100
 WARN [2019-06-12 17:24:45,018] ({main} ZeppelinConfiguration.java[getConfigFSDi                                                                             r]:527) - zeppelin.config.fs.dir is not specified, fall back to local conf direc                                                                             tory zeppelin.conf.dir
 WARN [2019-06-12 17:24:45,020] ({main} ZeppelinConfiguration.java[getConfigFSDi                                                                             r]:527) - zeppelin.config.fs.dir is not specified, fall back to local conf direc                                                                             tory zeppelin.conf.dir
 INFO [2019-06-12 17:24:45,117] ({main} InterpreterSettingManager.java[<init>]:1                                                                             65) - Using RecoveryStorage: org.apache.zeppelin.interpreter.recovery.NullRecove                                                                             ryStorage
 INFO [2019-06-12 17:24:45,119] ({main} InterpreterSettingManager.java[<init>]:1                                                                             69) - Using LifecycleManager: org.apache.zeppelin.interpreter.lifecycle.NullLife                                                                             cycleManager
 INFO [2019-06-12 17:24:45,159] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: groovy
 INFO [2019-06-12 17:24:45,172] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: cassandra
 INFO [2019-06-12 17:24:45,184] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: livy
 INFO [2019-06-12 17:24:45,192] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: file
 INFO [2019-06-12 17:24:45,199] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: sh
 INFO [2019-06-12 17:24:45,205] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: sap
 WARN [2019-06-12 17:24:45,364] ({main} InterpreterSettingManager.java[init]:331                                                                             ) - No interpreter-setting.json found in /home/ubuntu/zeppelin/interpreter/scio
 INFO [2019-06-12 17:24:45,377] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: alluxio
 INFO [2019-06-12 17:24:45,385] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: md
 INFO [2019-06-12 17:24:45,393] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: elasticsearch
 INFO [2019-06-12 17:24:45,402] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: flink
 INFO [2019-06-12 17:24:45,409] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: python
 INFO [2019-06-12 17:24:45,415] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: angular
 INFO [2019-06-12 17:24:45,425] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: jdbc
 INFO [2019-06-12 17:24:45,431] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: spark
 INFO [2019-06-12 17:24:45,441] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: pig
 INFO [2019-06-12 17:24:45,450] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: kylin
 WARN [2019-06-12 17:24:45,452] ({main} InterpreterSettingManager.java[init]:331                                                                             ) - No interpreter-setting.json found in /home/ubuntu/zeppelin/interpreter/lib
 INFO [2019-06-12 17:24:45,457] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: bigquery
 INFO [2019-06-12 17:24:45,462] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: lens
 INFO [2019-06-12 17:24:45,469] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: ignite
 WARN [2019-06-12 17:24:45,473] ({main} InterpreterSettingManager.java[init]:331                                                                             ) - No interpreter-setting.json found in /home/ubuntu/zeppelin/interpreter/${int                                                                             erpreter.name}
 INFO [2019-06-12 17:24:45,480] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: hbase
 INFO [2019-06-12 17:24:45,487] ({main} InterpreterSettingManager.java[registerI                                                                             nterpreterSetting]:425) - Register InterpreterSettingTemplate: neo4j
 WARN [2019-06-12 17:24:45,488] ({main} LocalConfigStorage.java[loadInterpreterS                                                                             ettings]:60) - Interpreter Setting file /home/ubuntu/zeppelin/conf/interpreter.j                                                                             son is not existed
 INFO [2019-06-12 17:24:45,545] ({main} LocalConfigStorage.java[save]:53) - Save                                                                              Interpreter Setting to /home/ubuntu/zeppelin/conf/interpreter.json
 INFO [2019-06-12 17:24:45,772] ({main} VfsLog.java[info]:138) - Using "/tmp/vfs                                                                             _cache" as temporary files store.
 INFO [2019-06-12 17:24:45,853] ({main} GitNotebookRepo.java[<init>]:64) - Openi                                                                             ng a git repo at '/home/ubuntu/zeppelin/notebook'
 INFO [2019-06-12 17:24:45,988] ({main} GitNotebookRepo.java[<init>]:67) - Git r                                                                             epo /home/ubuntu/zeppelin/notebook/.git does not exist, creating a new one
 INFO [2019-06-12 17:24:46,026] ({main} NotebookRepoSync.java[<init>]:77) - Inst                                                                             antiate NotebookRepo: org.apache.zeppelin.notebook.repo.GitNotebookRepo
 WARN [2019-06-12 17:24:46,162] ({main} NotebookAuthorization.java[getInstance]:                                                                             86) - Notebook authorization module was called without initialization, initializ                                                                             ing with default configuration
 WARN [2019-06-12 17:24:46,162] ({main} LocalConfigStorage.java[loadNotebookAuth                                                                             orization]:77) - NotebookAuthorization file /home/ubuntu/zeppelin/conf/notebook-                                                                             authorization.json is not existed
 INFO [2019-06-12 17:24:46,164] ({main} Credentials.java[loadFromFile]:121) - /h                                                                             ome/ubuntu/zeppelin/conf/credentials.json
 INFO [2019-06-12 17:24:46,206] ({main} StdSchedulerFactory.java[instantiate]:11                                                                             84) - Using default implementation for ThreadExecutor
 INFO [2019-06-12 17:24:46,210] ({main} SimpleThreadPool.java[initialize]:268) -                                                                              Job execution threads will use class loader of thread: main
 INFO [2019-06-12 17:24:46,228] ({main} SchedulerSignalerImpl.java[<init>]:61) -                                                                              Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignale                                                                             rImpl
 INFO [2019-06-12 17:24:46,230] ({main} QuartzScheduler.java[<init>]:240) - Quar                                                                             tz Scheduler v.2.2.1 created.
 INFO [2019-06-12 17:24:46,231] ({main} RAMJobStore.java[initialize]:155) - RAMJ                                                                             obStore initialized.
 INFO [2019-06-12 17:24:46,232] ({main} QuartzScheduler.java[initialize]:305) -                                                                              Scheduler meta-data: Quartz Scheduler (v2.2.1) 'DefaultQuartzScheduler' with ins                                                                             tanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persis                                                                             tence. and is not clustered.

 INFO [2019-06-12 17:24:46,232] ({main} StdSchedulerFactory.java[instantiate]:13                                                                             39) - Quartz scheduler 'DefaultQuartzScheduler' initialized from default resourc                                                                             e file in Quartz package: 'quartz.properties'
 INFO [2019-06-12 17:24:46,233] ({main} StdSchedulerFactory.java[instantiate]:13                                                                             43) - Quartz scheduler version: 2.2.1
 INFO [2019-06-12 17:24:46,233] ({main} QuartzScheduler.java[start]:575) - Sched                                                                             uler DefaultQuartzScheduler_$_NON_CLUSTERED started.
 INFO [2019-06-12 17:24:46,676] ({main} FolderView.java[createFolder]:107) - Cre                                                                             ate folder Zeppelin Tutorial
 INFO [2019-06-12 17:24:46,677] ({main} FolderView.java[createFolder]:107) - Cre                                                                             ate folder /
 INFO [2019-06-12 17:24:46,678] ({main} Folder.java[setParent]:169) - Set parent                                                                              of / to /
 INFO [2019-06-12 17:24:46,678] ({main} Folder.java[setParent]:169) - Set parent                                                                              of Zeppelin Tutorial to /
 INFO [2019-06-12 17:24:46,678] ({main} Folder.java[addNote]:185) - Add note 2C3                                                                             5YU814 to folder Zeppelin Tutorial
 WARN [2019-06-12 17:24:46,685] ({main} Notebook.java[refreshCron]:981) - execut                                                                             ion of the cron job is skipped cron is not enabled from Zeppelin server
 INFO [2019-06-12 17:24:46,715] ({main} Folder.java[addNote]:185) - Add note 2C2                                                                             AUG798 to folder Zeppelin Tutorial
 WARN [2019-06-12 17:24:46,717] ({main} Notebook.java[refreshCron]:981) - execut                                                                             ion of the cron job is skipped cron is not enabled from Zeppelin server
 INFO [2019-06-12 17:24:46,756] ({main} Folder.java[addNote]:185) - Add note 2BW                                                                             JFTXKJ to folder Zeppelin Tutorial
 WARN [2019-06-12 17:24:46,758] ({main} Notebook.java[refreshCron]:981) - execut                                                                             ion of the cron job is skipped cron is not enabled from Zeppelin server
 INFO [2019-06-12 17:24:46,766] ({main} Folder.java[addNote]:185) - Add note 2C5                                                                             7UKYWR to folder Zeppelin Tutorial
 WARN [2019-06-12 17:24:46,766] ({main} Notebook.java[refreshCron]:981) - execut                                                                             ion of the cron job is skipped cron is not enabled from Zeppelin server
 INFO [2019-06-12 17:24:46,790] ({main} Folder.java[addNote]:185) - Add note 2BY                                                                             EZ5EVK to folder Zeppelin Tutorial
 WARN [2019-06-12 17:24:46,791] ({main} Notebook.java[refreshCron]:981) - execut                                                                             ion of the cron job is skipped cron is not enabled from Zeppelin server
 INFO [2019-06-12 17:24:46,798] ({main} Folder.java[addNote]:185) - Add note 2A9                                                                             4M5J1Z to folder Zeppelin Tutorial
 WARN [2019-06-12 17:24:46,799] ({main} Notebook.java[refreshCron]:981) - execut                                                                             ion of the cron job is skipped cron is not enabled from Zeppelin server
 INFO [2019-06-12 17:24:46,799] ({main} Notebook.java[<init>]:127) - Notebook in                                                                             dexing started...
 INFO [2019-06-12 17:24:47,109] ({main} LuceneSearch.java[addIndexDocs]:305) - I                                                                             ndexing 6 notebooks took 309ms
 INFO [2019-06-12 17:24:47,110] ({main} Notebook.java[<init>]:129) - Notebook in                                                                             dexing finished: 6 indexed in 0s
 INFO [2019-06-12 17:24:47,113] ({main} Helium.java[loadConf]:103) - Add helium                                                                              local registry /home/ubuntu/zeppelin/helium
 INFO [2019-06-12 17:24:47,114] ({main} Helium.java[loadConf]:100) - Add helium                                                                              online registry https://s3.amazonaws.com/helium-package/helium.json
 WARN [2019-06-12 17:24:47,118] ({main} Helium.java[loadConf]:111) - /home/ubunt                                                                             u/zeppelin/conf/helium.json does not exists
 INFO [2019-06-12 17:24:49,641] ({main} ContextHandler.java[doStart]:855) - Star                                                                             ted o.e.j.w.WebAppContext@6ca18a14{zeppelin-web,/,file:///home/ubuntu/zeppelin/w                                                                             ebapps/webapp/,AVAILABLE}{/home/ubuntu/zeppelin/zeppelin-web-0.8.1.war}
ERROR [2019-06-12 17:24:49,656] ({main} ZeppelinServer.java[main]:246) - Error w                                                                             hile running jettyServer
java.io.IOException: Failed to bind to /0.0.0.0:8090
        at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConn                                                                             ector.java:346)
        at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:30                                                                             8)
        at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNet                                                                             workConnector.java:80)
        at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java                                                                             :236)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife                                                                             Cycle.java:68)
        at org.eclipse.jetty.server.Server.doStart(Server.java:394)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife                                                                             Cycle.java:68)
        at org.apache.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:24                                                                             1)
Caused by: java.net.BindException: Address already in use
        at java.base/sun.nio.ch.Net.bind0(Native Method)
        at java.base/sun.nio.ch.Net.bind(Net.java:461)
        at java.base/sun.nio.ch.Net.bind(Net.java:453)
        at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannel                                                                             Impl.java:227)
        at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.jav                                                                             a:80)
        at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConn                                                                             ector.java:342)
        ... 7 more


Can anyone please tell me how to fix the error? I cannot start my Zeppelin web UI. Any help or suggestion is appreciated. Thank you in advance!



1 ACCEPTED SOLUTION

avatar
Master Mentor

@shraddha srivastav

The problem seems to be the Port Conflict on port "8090" . (either change the Zeppelin port to something else or find and kill the other process which is using that port)

ERROR [2019-06-12 17:24:49,656] ({main} ZeppelinServer.java[main]:246) - Error while running jettyServer
java.io.IOException: Failed to bind to /0.0.0.0:8090
.
Caused by: java.net.BindException: Address already in use
        at java.base/sun.nio.ch.Net.bind0(Native Method)

.

So before restarting Zeppelin please make sure that there is no other process which is using that port 8090.

Please check which other process is using that port and kill that.

# netstat -tnlpa | grep 8090

.

You can also try running the following command to see if oyu are able to bind to that port 8090 using simple netcat command or not? this is just to verify if that port is free to be binded or not?

# nc -l 8090

If that port is already in use by some other process then you should see the following kind of error when you run that command:

# nc -l 8090
Ncat: bind to :::8090: Address already in use. QUITTING.



.

View solution in original post

7 REPLIES 7

avatar
Master Mentor

@shraddha srivastav

The problem seems to be the Port Conflict on port "8090" . (either change the Zeppelin port to something else or find and kill the other process which is using that port)

ERROR [2019-06-12 17:24:49,656] ({main} ZeppelinServer.java[main]:246) - Error while running jettyServer
java.io.IOException: Failed to bind to /0.0.0.0:8090
.
Caused by: java.net.BindException: Address already in use
        at java.base/sun.nio.ch.Net.bind0(Native Method)

.

So before restarting Zeppelin please make sure that there is no other process which is using that port 8090.

Please check which other process is using that port and kill that.

# netstat -tnlpa | grep 8090

.

You can also try running the following command to see if oyu are able to bind to that port 8090 using simple netcat command or not? this is just to verify if that port is free to be binded or not?

# nc -l 8090

If that port is already in use by some other process then you should see the following kind of error when you run that command:

# nc -l 8090
Ncat: bind to :::8090: Address already in use. QUITTING.



.

avatar

@Jay Kumar SenSharma Yes you are right i gave the # nc -l 8090 and got the following output:

ubuntu@ip-20-20-30-213:~$ sudo nc -l 8090

nc: Address already in use

So if i change the port to 8888 in Zeppelin-site-xml file, willl it solve the issue?

avatar
Master Mentor

@shraddha srivastav

Yes, if you change the port of your zeppelin to some other port which is free then it should work.

Or you will need to stop the other process which is using that port 8090 to avoid port conflict.

avatar

@Jay Kumar SenSharma I Used 8888 and In logs I got the following message:

ubuntu@ip-20-20-30-213:~/zeppelin/logs$ cat zeppelin-root-ip-20-20-30-213.log  INFO [2019-06-13 00:04:50,902] ({main} ZeppelinConfiguration.java[create]:121) - Load configuration from file:/home/ubuntu/zeppelin/conf/zeppelin-site.xml  INFO [2019-06-13 00:04:51,060] ({main} ZeppelinConfiguration.java[create]:129) - Server Host: 0.0.0.0  INFO [2019-06-13 00:04:51,060] ({main} ZeppelinConfiguration.java[create]:131) - Server Port: 8888  INFO [2019-06-13 00:04:51,061] ({main} ZeppelinConfiguration.java[create]:135) - Context Path: /  INFO [2019-06-13 00:04:51,065] ({main} ZeppelinConfiguration.java[create]:136) - Zeppelin Version: 0.8.1  INFO [2019-06-13 00:04:51,155] ({main} Log.java[initialized]:193) - Logging initialized @1191ms to org.eclipse.jetty.util.log.Slf4jLog  WARN [2019-06-13 00:04:51,219] ({main} ServerConnector.java[setSoLingerTime]:458) - Ignoring deprecated socket close linger time  INFO [2019-06-13 00:04:51,287] ({main} ZeppelinServer.java[setupWebAppContext]:413) - ZeppelinServer Webapp path: /home/ubuntu/zeppelin/webapps  INFO [2019-06-13 00:04:51,397] ({main} ZeppelinServer.java[main]:239) - Starting zeppelin server  INFO [2019-06-13 00:04:51,399] ({main} Server.java[doStart]:370) - jetty-9.4.14.v20181114; built: 2018-11-14T21:20:31.478Z; git: c4550056e785fb5665914545889f21dc136ad9e6; jvm 11.0.2+9-LTS  INFO [2019-06-13 00:04:54,182] ({main} StandardDescriptorProcessor.java[visitServlet]:283) - NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet  INFO [2019-06-13 00:04:54,205] ({main} DefaultSessionIdManager.java[doStart]:365) - DefaultSessionIdManager workerName=node0  INFO [2019-06-13 00:04:54,206] ({main} DefaultSessionIdManager.java[doStart]:370) - No SessionScavenger set, using defaults  INFO [2019-06-13 00:04:54,211] ({main} HouseKeeper.java[startScavenging]:149) - node0 Scavenging every 660000ms  INFO [2019-06-13 00:04:54,684] ({main} SchedulerFactory.java[<init>]:59) - Scheduler Thread Pool Size: 100  INFO [2019-06-13 01:11:24,528] ({main} StdSchedulerFactory.java[instantiate]:1339) - Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'  INFO [2019-06-13 01:11:24,529] ({main} StdSchedulerFactory.java[instantiate]:1343) - Quartz scheduler version: 2.2.1  INFO [2019-06-13 01:11:24,530] ({main} QuartzScheduler.java[start]:575) - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.  INFO [2019-06-13 01:11:24,905] ({main} FolderView.java[createFolder]:107) - Create folder Zeppelin Tutorial  INFO [2019-06-13 01:11:24,905] ({main} FolderView.java[createFolder]:107) - Create folder /  INFO [2019-06-13 01:11:24,906] ({main} Folder.java[setParent]:169) - Set parent of / to /  INFO [2019-06-13 01:11:24,906] ({main} Folder.java[setParent]:169) - Set parent of Zeppelin Tutorial to /  INFO [2019-06-13 01:11:24,907] ({main} Folder.java[addNote]:185) - Add note 2C35YU814 to folder Zeppelin Tutorial  WARN [2019-06-13 01:11:24,913] ({main} Notebook.java[refreshCron]:981) - execution of the cron job is skipped cron is not enabled from Zeppelin server  INFO [2019-06-13 01:11:24,971] ({main} Folder.java[addNote]:185) - Add note 2C2AUG798 to folder Zeppelin Tutorial  WARN [2019-06-13 01:11:24,974] ({main} Notebook.java[refreshCron]:981) - execution of the cron job is skipped cron is not enabled from Zeppelin server  INFO [2019-06-13 01:11:25,030] ({main} Folder.java[addNote]:185) - Add note 2BWJFTXKJ to folder Zeppelin Tutorial  WARN [2019-06-13 01:11:25,033] ({main} Notebook.java[refreshCron]:981) - execution of the cron job is skipped cron is not enabled from Zeppelin server  INFO [2019-06-13 01:11:25,045] ({main} Folder.java[addNote]:185) - Add note 2C57UKYWR to folder Zeppelin Tutorial  WARN [2019-06-13 01:11:25,047] ({main} Notebook.java[refreshCron]:981) - execution of the cron job is skipped cron is not enabled from Zeppelin server  INFO [2019-06-13 01:11:25,067] ({main} Folder.java[addNote]:185) - Add note 2BYEZ5EVK to folder Zeppelin Tutorial  WARN [2019-06-13 01:11:25,068] ({main} Notebook.java[refreshCron]:981) - execution of the cron job is skipped cron is not enabled from Zeppelin server  INFO [2019-06-13 01:11:25,083] ({main} Folder.java[addNote]:185) - Add note 2A94M5J1Z to folder Zeppelin Tutorial  WARN [2019-06-13 01:11:25,084] ({main} Notebook.java[refreshCron]:981) - execution of the cron job is skipped cron is not enabled from Zeppelin server  INFO [2019-06-13 01:11:25,084] ({main} Notebook.java[<init>]:127) - Notebook indexing started...  INFO [2019-06-13 01:11:25,380] ({main} LuceneSearch.java[addIndexDocs]:305) - Indexing 6 notebooks took 294ms  INFO [2019-06-13 01:11:25,380] ({main} Notebook.java[<init>]:129) - Notebook indexing finished: 6 indexed in 0s  INFO [2019-06-13 01:11:25,382] ({main} Helium.java[loadConf]:103) - Add helium local registry /home/ubuntu/zeppelin/helium  INFO [2019-06-13 01:11:25,384] ({main} Helium.java[loadConf]:100) - Add helium online registry https://s3.amazonaws.com/helium-package/helium.json  WARN [2019-06-13 01:11:25,387] ({main} Helium.java[loadConf]:111) - /home/ubuntu/zeppelin/conf/helium.json does not exists  INFO [2019-06-13 01:11:27,771] ({main} ContextHandler.java[doStart]:855) - Started o.e.j.w.WebAppContext@6ca18a14{zeppelin-web,/,file:///home/ubuntu/zeppelin/webapps/webapp/,AVAILABLE}{/home/ubuntu/zeppelin/zeppelin-web-0.8.1.war}  INFO [2019-06-13 01:11:27,800] ({main} AbstractConnector.java[doStart]:292) - Started ServerConnector@234cd86c{HTTP/1.1,[http/1.1]}{0.0.0.0:8888}  INFO [2019-06-13 01:11:27,801] ({main} Server.java[doStart]:407) - Started @8727ms  INFO [2019-06-13 01:11:27,807] ({main} ZeppelinServer.java[main]:249) - Done, zeppelin server started 


But when I am trying to do localhost:8888 I still can't load zeppelin wen UI. Any idea why?

avatar
Master Mentor

@shraddha srivastav

Based on the logs now i see that your Zeppelin is listening properly to port 8888 without any issue. have you accessed Zeppelin using browser after "2019-06-13 01:11:27" time ?

INFO [2019-06-13 01:11:27,800] ({main} AbstractConnector.java[doStart]:292) - Started ServerConnector@234cd86c{HTTP/1.1,[http/1.1]}{0.0.0.0:8888}  
INFO [2019-06-13 01:11:27,801] ({main} Server.java[doStart]:407) - Started @8727ms  
INFO [2019-06-13 01:11:27,807] ({main} ZeppelinServer.java[main]:249) - Done, zeppelin server started 


So if you are still not able to access the Zeppelin UI via browser then it might be some proxy/firewall issue.


Can you please try running the following command from two hosts:

1. Run the curl command from host where you are running your browser to access Zeppelin UI:

# curl -iv  http://$ZEPPELIN_HOSTNAME:8888

2. Now login to Zeppelin host and then try running the same curl call with "localhost" and hostname.

# curl -iv  http://$ZEPPELIN_HOSTNAME:8888
# curl -iv  http://localhost:8888

Please share the *complete* output of both the Calls.

Also please check if the "iptables" (firewall) is disabled on your Zeppelin server host or not?

avatar

@Jay Kumar SenSharma I Used 8888 and In logs I got the following message:

ubuntu@ip-20-20-30-213:~/zeppelin/logs$ cat zeppelin-root-ip-20-20-30-213.log  INFO [2019-06-13 00:04:50,902] ({main} ZeppelinConfiguration.java[create]:121) - Load configuration from file:/home/ubuntu/zeppelin/conf/zeppelin-site.xml  INFO [2019-06-13 00:04:51,060] ({main} ZeppelinConfiguration.java[create]:129) - Server Host: 0.0.0.0  INFO [2019-06-13 00:04:51,060] ({main} ZeppelinConfiguration.java[create]:131) - Server Port: 8888  INFO [2019-06-13 00:04:51,061] ({main} ZeppelinConfiguration.java[create]:135) - Context Path: /  INFO [2019-06-13 00:04:51,065] ({main} ZeppelinConfiguration.java[create]:136) - Zeppelin Version: 0.8.1  INFO [2019-06-13 00:04:51,155] ({main} Log.java[initialized]:193) - Logging initialized @1191ms to org.eclipse.jetty.util.log.Slf4jLog  WARN [2019-06-13 00:04:51,219] ({main} ServerConnector.java[setSoLingerTime]:458) - Ignoring deprecated socket close linger time  INFO [2019-06-13 00:04:51,287] ({main} ZeppelinServer.java[setupWebAppContext]:413) - ZeppelinServer Webapp path: /home/ubuntu/zeppelin/webapps  INFO [2019-06-13 00:04:51,397] ({main} ZeppelinServer.java[main]:239) - Starting zeppelin server  INFO [2019-06-13 00:04:51,399] ({main} Server.java[doStart]:370) - jetty-9.4.14.v20181114; built: 2018-11-14T21:20:31.478Z; git: c4550056e785fb5665914545889f21dc136ad9e6; jvm 11.0.2+9-LTS  INFO [2019-06-13 00:04:54,182] ({main} StandardDescriptorProcessor.java[visitServlet]:283) - NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet  INFO [2019-06-13 00:04:54,205] ({main} DefaultSessionIdManager.java[doStart]:365) - DefaultSessionIdManager workerName=node0  INFO [2019-06-13 00:04:54,206] ({main} DefaultSessionIdManager.java[doStart]:370) - No SessionScavenger set, using defaults  INFO [2019-06-13 00:04:54,211] ({main} HouseKeeper.java[startScavenging]:149) - node0 Scavenging every 660000ms  INFO [2019-06-13 00:04:54,684] ({main} SchedulerFactory.java[<init>]:59) - Scheduler Thread Pool Size: 100  INFO [2019-06-13 01:11:24,528] ({main} StdSchedulerFactory.java[instantiate]:1339) - Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'  INFO [2019-06-13 01:11:24,529] ({main} StdSchedulerFactory.java[instantiate]:1343) - Quartz scheduler version: 2.2.1  INFO [2019-06-13 01:11:24,530] ({main} QuartzScheduler.java[start]:575) - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.  INFO [2019-06-13 01:11:24,905] ({main} FolderView.java[createFolder]:107) - Create folder Zeppelin Tutorial  INFO [2019-06-13 01:11:24,905] ({main} FolderView.java[createFolder]:107) - Create folder /  INFO [2019-06-13 01:11:24,906] ({main} Folder.java[setParent]:169) - Set parent of / to /  INFO [2019-06-13 01:11:24,906] ({main} Folder.java[setParent]:169) - Set parent of Zeppelin Tutorial to /  INFO [2019-06-13 01:11:24,907] ({main} Folder.java[addNote]:185) - Add note 2C35YU814 to folder Zeppelin Tutorial  WARN [2019-06-13 01:11:24,913] ({main} Notebook.java[refreshCron]:981) - execution of the cron job is skipped cron is not enabled from Zeppelin server  INFO [2019-06-13 01:11:24,971] ({main} Folder.java[addNote]:185) - Add note 2C2AUG798 to folder Zeppelin Tutorial  WARN [2019-06-13 01:11:24,974] ({main} Notebook.java[refreshCron]:981) - execution of the cron job is skipped cron is not enabled from Zeppelin server  INFO [2019-06-13 01:11:25,030] ({main} Folder.java[addNote]:185) - Add note 2BWJFTXKJ to folder Zeppelin Tutorial  WARN [2019-06-13 01:11:25,033] ({main} Notebook.java[refreshCron]:981) - execution of the cron job is skipped cron is not enabled from Zeppelin server  INFO [2019-06-13 01:11:25,045] ({main} Folder.java[addNote]:185) - Add note 2C57UKYWR to folder Zeppelin Tutorial  WARN [2019-06-13 01:11:25,047] ({main} Notebook.java[refreshCron]:981) - execution of the cron job is skipped cron is not enabled from Zeppelin server  INFO [2019-06-13 01:11:25,067] ({main} Folder.java[addNote]:185) - Add note 2BYEZ5EVK to folder Zeppelin Tutorial  WARN [2019-06-13 01:11:25,068] ({main} Notebook.java[refreshCron]:981) - execution of the cron job is skipped cron is not enabled from Zeppelin server  INFO [2019-06-13 01:11:25,083] ({main} Folder.java[addNote]:185) - Add note 2A94M5J1Z to folder Zeppelin Tutorial  WARN [2019-06-13 01:11:25,084] ({main} Notebook.java[refreshCron]:981) - execution of the cron job is skipped cron is not enabled from Zeppelin server  INFO [2019-06-13 01:11:25,084] ({main} Notebook.java[<init>]:127) - Notebook indexing started...  INFO [2019-06-13 01:11:25,380] ({main} LuceneSearch.java[addIndexDocs]:305) - Indexing 6 notebooks took 294ms  INFO [2019-06-13 01:11:25,380] ({main} Notebook.java[<init>]:129) - Notebook indexing finished: 6 indexed in 0s  INFO [2019-06-13 01:11:25,382] ({main} Helium.java[loadConf]:103) - Add helium local registry /home/ubuntu/zeppelin/helium  INFO [2019-06-13 01:11:25,384] ({main} Helium.java[loadConf]:100) - Add helium online registry https://s3.amazonaws.com/helium-package/helium.json  WARN [2019-06-13 01:11:25,387] ({main} Helium.java[loadConf]:111) - /home/ubuntu/zeppelin/conf/helium.json does not exists  INFO [2019-06-13 01:11:27,771] ({main} ContextHandler.java[doStart]:855) - Started o.e.j.w.WebAppContext@6ca18a14{zeppelin-web,/,file:///home/ubuntu/zeppelin/webapps/webapp/,AVAILABLE}{/home/ubuntu/zeppelin/zeppelin-web-0.8.1.war}  INFO [2019-06-13 01:11:27,800] ({main} AbstractConnector.java[doStart]:292) - Started ServerConnector@234cd86c{HTTP/1.1,[http/1.1]}{0.0.0.0:8888}  INFO [2019-06-13 01:11:27,801] ({main} Server.java[doStart]:407) - Started @8727ms  INFO [2019-06-13 01:11:27,807] ({main} ZeppelinServer.java[main]:249) - Done, zeppelin server started 


But when I am trying to do localhost:8888 I still can't load zeppelin wen UI. Any idea why?

avatar

The above question and the entire reply thread below was originally posted in the Community Help Track. On Thu Jun 13 04:29 UTC 2019, a member of the HCC moderation staff moved it to the Data Science & Advanced Analytics track. The Community Help Track is intended for questions about using the HCC site itself.

Bill Brooks, Community Moderator
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.