Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.9.0
-
None
-
None
Description
When creating a notebook with a name, that exceeds the length limit by the filesystem, the behavior seems inconsistent in zeppelin:
- Notebook creation fails <<< OK
- WARN is printed to LOG <<< OK, maybe that should be an ERROR
- Notebook is visible in Notebook Overview <<<< FAIL
- Empty Folders are created <<<< ???
We would expect the note is not created
Reproducer: Use the default notebook storage (Git/Vfs) on Linux.
Create a note with long name e.g.
foo/11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
INFO [2021-07-06 12:17:31,799] ({qtp878274034-61} VFSNotebookRepo.java[save]:144) - Saving note 2G9PCHSM9 to foo/11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111_2G9PCHSM9.zpln
WARN [2021-07-06 12:17:31,800] ({qtp878274034-61} SimpleServiceCallback.java[onFailure]:50) - Could not write to "file:///home/andreas/git/zeppelin/notebook/foo/11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111_2G9PCHSM9.tmp"., cause: /home/andreas/git/zeppelin/notebook/foo/11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111_2G9PCHSM9.tmp (File name too long)