You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Andreas Weise (Jira)" <ji...@apache.org> on 2021/07/06 10:33:00 UTC

[jira] [Created] (ZEPPELIN-5450) Inconsistent behavior after "File name too long" when creating note with long name

Andreas Weise created ZEPPELIN-5450:
---------------------------------------

             Summary: Inconsistent behavior after "File name too long" when creating note with long name
                 Key: ZEPPELIN-5450
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-5450
             Project: Zeppelin
          Issue Type: Bug
          Components: zeppelin-zengine
    Affects Versions: 0.9.0
            Reporter: Andreas Weise


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}}


{code:java}
 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)


{code}





--
This message was sent by Atlassian Jira
(v8.3.4#803005)