You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "SunShun (Jira)" <ji...@apache.org> on 2022/05/28 02:09:00 UTC

[jira] [Created] (ZEPPELIN-5744) Allow NoteManager for concurrent operation

SunShun created ZEPPELIN-5744:
---------------------------------

             Summary: Allow NoteManager for concurrent operation
                 Key: ZEPPELIN-5744
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-5744
             Project: Zeppelin
          Issue Type: Bug
    Affects Versions: 0.10.1, 0.10.0, 0.9.0
            Reporter: SunShun
            Assignee: SunShun
             Fix For: 0.11.0
         Attachments: image-2022-05-28-09-57-55-436.png, image-2022-05-28-10-00-12-964.png, image-2022-05-28-10-06-09-095.png

When multi users perform some notebook/folder operation, like rename or move, some notebooks become not accessible from zeppelin page, while they are still existing on the HDFS, and only resort to restart Zeppelin daemon to solve the problem.

!image-2022-05-28-09-57-55-436.png|width=343,height=109!

Some unit test is created to simulate the concurrent request scenario and reproduce the issue successfully, including the operations of saveNote, moveNote, moveFolder and removeNote.

!image-2022-05-28-10-00-12-964.png|width=439,height=139!

Accordingly, some changes are made to ensure thread safety of note manager operation, so that the note or folder info will not be lost, after which the unit test get passed. A PR will submitted later.

!image-2022-05-28-10-06-09-095.png|width=321,height=173!



--
This message was sent by Atlassian Jira
(v8.20.7#820007)