New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ZEPPELIN-5885] Solve the concurrency clone note #4563
Conversation
Please open a JIRA ticket. A stack trace of the error would be good in the ticket. It would also be good if you use the pull request template. |
Hello, I have JIRA https://issues.apache.org/jira/browse/ZEPPELIN-5885 sheet and provided test case and stack information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
hi~, I tried to use the above modifications, but now occasionally throw java.nio.file.NoSuchFileException
whether this method requires a lock ? |
Are you sure it is because of this change? |
A |
Yes, i also think. |
Feel free to prepare a PullRequest with JIRA ticket. Your StackTrace should be included in the JIRA ticket. |
Mybe a synchronized at the |
I don't think so, because this function is used by all save operations. e.g. when note files are created. These would then block each other. |
Thanks for your reply. I understand. |
What is this PR for?
This pull request migrates solve the concurrency problem caused by multiple concurrent calls to note clone.
What type of PR is it?
[Bug Fix]
What is the Jira issue?
How should this be tested?
./mvnw -B -pl 'zeppelin-server,zeppelin-zengine,zeppelin-common,zeppelin-interpreter,zeppelin-jupyter' clean package -
DskipTests -Pbuild-distr -Pinclude-hadoop -Phadoop3 -Pweb-angular