Support Questions

Find answers, ask questions, and share your expertise

After Sandbox Restart, Zeppelin won't start

avatar
Master Guru
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.4/services/ZEPPELIN/package/scripts/master.py", line 235, in <module>
    Master().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.4/services/ZEPPELIN/package/scripts/master.py", line 179, in start
    self.update_zeppelin_interpreter()
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.4/services/ZEPPELIN/package/scripts/master.py", line 196, in update_zeppelin_interpreter
    data = json.load(urllib2.urlopen(zeppelin_int_url))
  File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib64/python2.6/urllib2.py", line 391, in open
    response = self._open(req, data)
  File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
    '_open', req)
  File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.6/urllib2.py", line 1190, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
    raise URLError(err) 

urllib2.URLError: <urlopen error [Errno 111] Connection refused>

1 ACCEPTED SOLUTION

avatar
Master Guru
Empty notebook issue!

https://mail-archives.apache.org/mod_mbox/incubator-zeppelin-users/201603.mbox/%3CCAC-WUu0_ydaQqtUed...

Checking /usr/hdp/current/zeppelin-server/lib/notebook for empty note.json

ls -ltRA

One note book was empty! 0 bytes.

sudo service zeppelin stop

Restart from Ambari

Solved!

 INFO [2016-08-02 03:26:43,253] ({main} QuartzScheduler.java[start]:575) - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
 INFO [2016-08-02 03:26:43,996] ({main} Notebook.java[<init>]:111) - Notebook indexing started...
 INFO [2016-08-02 03:26:44,514] ({main} LuceneSearch.java[addIndexDocs]:285) - Indexing 39 notebooks took 517ms
 INFO [2016-08-02 03:26:44,514] ({main} Notebook.java[<init>]:113) - Notebook indexing finished: 39 indexed in 0s
 INFO [2016-08-02 03:26:44,684] ({main} ServerImpl.java[initDestination]:94) - Setting the server's publish address to be /
 INFO [2016-08-02 03:26:44,842] ({main} StandardDescriptorProcessor.java[visitServlet]:284) - NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
 INFO [2016-08-02 03:26:45,507] ({main} AbstractConnector.java[doStart]:338) - Started SelectChannelConnector@0.0.0.0:9995
 INFO [2016-08-02 03:26:45,507] ({main} ZeppelinServer.java[main]:117) - Done, zeppelin server started
 INFO [2016-08-02 03:27:03,800] ({qtp1313447888-32} InterpreterRestApi.java[updateSetting]:104) - Update interpreterSetting 2BMAD52E9
 INFO [2016-08-02 03:27:03,823] ({qtp1313447888-34} InterpreterRestApi.java[updateSetting]:104) - Update interpreterSetting 2BPPQF6G3

View solution in original post

3 REPLIES 3

avatar
Master Guru
Empty notebook issue!

https://mail-archives.apache.org/mod_mbox/incubator-zeppelin-users/201603.mbox/%3CCAC-WUu0_ydaQqtUed...

Checking /usr/hdp/current/zeppelin-server/lib/notebook for empty note.json

ls -ltRA

One note book was empty! 0 bytes.

sudo service zeppelin stop

Restart from Ambari

Solved!

 INFO [2016-08-02 03:26:43,253] ({main} QuartzScheduler.java[start]:575) - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
 INFO [2016-08-02 03:26:43,996] ({main} Notebook.java[<init>]:111) - Notebook indexing started...
 INFO [2016-08-02 03:26:44,514] ({main} LuceneSearch.java[addIndexDocs]:285) - Indexing 39 notebooks took 517ms
 INFO [2016-08-02 03:26:44,514] ({main} Notebook.java[<init>]:113) - Notebook indexing finished: 39 indexed in 0s
 INFO [2016-08-02 03:26:44,684] ({main} ServerImpl.java[initDestination]:94) - Setting the server's publish address to be /
 INFO [2016-08-02 03:26:44,842] ({main} StandardDescriptorProcessor.java[visitServlet]:284) - NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
 INFO [2016-08-02 03:26:45,507] ({main} AbstractConnector.java[doStart]:338) - Started SelectChannelConnector@0.0.0.0:9995
 INFO [2016-08-02 03:26:45,507] ({main} ZeppelinServer.java[main]:117) - Done, zeppelin server started
 INFO [2016-08-02 03:27:03,800] ({qtp1313447888-32} InterpreterRestApi.java[updateSetting]:104) - Update interpreterSetting 2BMAD52E9
 INFO [2016-08-02 03:27:03,823] ({qtp1313447888-34} InterpreterRestApi.java[updateSetting]:104) - Update interpreterSetting 2BPPQF6G3

avatar
Contributor

Hi, how to find folder /usr/hdp/current/zeppelin-server/lib/notebook, can you elaborate it, please. thanks

avatar

I came across the same problem but I could only find the notebook folder with note.json files under this directory /usr/hdp/current/zeppelin-server/notebook, but the note.json under my latest session folder wasn't empty