Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Please see the Cloudera blog for information on the Cloudera Response to CVE-2021-4428

zeppelin restart on HDP 2.4 fails with below error!

Contributor

ERROR [2016-06-28 13:45:20,075] ({main} VFSNotebookRepo.java[list]:140) - Can't read note file:///usr/hdp/current/zeppelin-server/lib/notebook/screenshots java.io.IOException: file:///usr/hdp/current/zeppelin-server/lib/notebook/screenshots/note.json not found

18 REPLIES 18

It looks like screenshots should not be inside notebook. What are the contents of the folder?

Removing it from notebook folder should have worked.

Contributor
@Rahul Pathak

I created a note.json for screenshots and it worked!

Explorer

It that empty note.json?

Contributor

Contributor

Contributor
@Rahul Pathak

Yes, It worked but Ambari restart of Zeppelin still fails with below errors:

WARN [ambari-heartbeat-processor-0] HeartbeatProcessor:545 - Operation failed - may be retried. Service component host: ZEPPELIN_MASTER, host: xxxxxxxxxxxx 359-0 and Task id 3311 29 Jun 2016 10:20:24,531 ERROR [ambari-heartbeat-processor-0] ServiceComponentHostImpl:1030 - Can't handle ServiceComponentHostEvent event at current state, serviceComponentName=ZEPPELIN_MASTER, hostName=xxxxxxxxxx, currentState=STARTED, eventType=HOST_SVCCOMP_OP_FAILED, event=EventType: HOST_SVCCOMP_OP_FAILED 29 Jun 2016 10:20:24,532  WARN [ambari-heartbeat-processor-0] HeartbeatProcessor:563 - State machine exception. Invalid event: HOST_SVCCOMP_OP_FAILED at STARTED

@Srikaran Jangidi

Try restarting the agent in the node and also try to re-install the clients in this node.

The root cause is this: Zeppelin now fails to start if any subdirs in notebook dir does not contain note.json. So to workaround just remove that dir and restart Zeppelin.

I have created an empty one under screenshots dir to the github. Also pushed a fix to just remove this dir when installing via Ambari.

Contributor
@Ali Bajwa

Thanks!