Github user kavinkumarks commented on the issue:

    https://github.com/apache/zeppelin/pull/1408
  
    @corneadoug I checked the various combinations of file permissions for the 
notebook folder eg. permissions 444,400. The issue that you reported above that 
the notebook is not listed on restarting the zeppelin server is due to the 
below error in the logs on restarting the server,
    
    `ERROR [2016-09-25 23:17:04,767] ({main} VFSNotebookRepo.java[list]:144) - 
Can't read note file:///home/kavink/git/zeppelin/notebook/2BWTQ6UDY
    java.io.IOException: 
file:///home/kavink/git/zeppelin/notebook/2BWTQ6UDY/note.json not found
        at 
org.apache.zeppelin.notebook.repo.VFSNotebookRepo.getNote(VFSNotebookRepo.java:158)
        at 
org.apache.zeppelin.notebook.repo.VFSNotebookRepo.getNoteInfo(VFSNotebookRepo.java:194)
        at 
org.apache.zeppelin.notebook.repo.VFSNotebookRepo.list(VFSNotebookRepo.java:139)
        at 
org.apache.zeppelin.notebook.repo.NotebookRepoSync.list(NotebookRepoSync.java:124)
        at org.apache.zeppelin.notebook.Notebook.loadAllNotes(Notebook.java:461)
        at org.apache.zeppelin.notebook.Notebook.<init>(Notebook.java:123)
        at 
org.apache.zeppelin.server.ZeppelinServer.<init>(ZeppelinServer.java:97)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)`
    
    The notebook folder should have both read and execute permission to list it 
and this is being already caught in the logs.I think that we aren't missing 
anything here.Please let me know your thoughts.
    
    Thanks,
    Kavin
    MailTo: kavin.ku...@imaginea.com


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to