Skip to content

Commit 21fd49a

Browse files
author
Kavin
committed
Exit the run paragraph execution when there are errors with the notebook
file system.
1 parent 950ebda commit 21fd49a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zeppelin-server/src/main/java/org/apache/zeppelin/socket/NotebookServer.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,6 +1156,8 @@ private void runParagraph(NotebookSocket conn, HashSet<String> userAndRoles, Not
11561156
conn.send(serializeMessage(new Message(OP.ERROR_INFO).put("info",
11571157
"Oops! There is something wrong with the notebook file system. "
11581158
+ "Please check the logs for more details.")));
1159+
// don't run the paragraph when there is error on persisting the note information
1160+
return;
11591161
}
11601162

11611163
try {

0 commit comments

Comments
 (0)