Hi, is GitHubNotebookRepo working out of box with latest zeppelin source code?

I am hitting the follwoing errors/Exception:

 WARN [2019-01-18 13:31:52,018] ({qtp1596000437-13} 
NotebookRepoSync.java[checkpoint]:501) - Couldn't checkpoint in class 
org.apache.zeppelin.notebook.repo.GitHubNotebookRepo storage with index 0 for 
note 2E45VA3PF
ERROR [2019-01-18 13:31:52,018] ({qtp1596000437-13} 
NotebookServer.java[onMessage]:402) - Can't handle message: 
{"op":"CHECKPOINT_NOTE","data":{"noteId":"2E45VA3PF"},"principal":"anonymous","ticket":"anonymous","roles":"[]"}
java.io.IOException: Error on storage class class 
org.apache.zeppelin.notebook.repo.GitHubNotebookRepo with index 0 : Invalid 
notePath: ok

Basically it’s failing from this check in NoteBookRepo.java:

default String buildNoteFileName(String noteId, String notePath) throws 
IOException {
  if (!notePath.startsWith("/")) {
    throw new IOException("Invalid notePath: " + notePath);
  }
  return (notePath + "_" + noteId + ".zpln").substring(1);
}

so we have to assume the note path always starts with ‘/‘ ?

am i missing some basic configuration (or is there undocumented configuration 
needed)?

Thanks,
Weilan

Reply via email to