forked from apache/zeppelin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZEPPELIN-3411 Long running logic inside synchronized block in Interpr…
…eterSettingManager ### What is this PR for? Removing redundant synchronized code to avoid blocking other logics. ### What type of PR is it? [Bug Fix] ### Todos * [x] - Change synchronized block to read/write lock ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-3411 ### How should this be tested? * Current tests should be passed ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Jongyoul Lee <jongyoul@gmail.com> Closes apache#2935 from jongyoul/ZEPPELIN-3411 and squashes the following commits: 3b90155 [Jongyoul Lee] Removed unused `import` statements Simplified `for` loop 4691301 [Jongyoul Lee] Removed lock/synchronized codes because interpreterSettings already is implemented by currentHashMap 24be692 [Jongyoul Lee] Removed all synchronized blocks and replace them to read/write lock
- Loading branch information
Showing
1 changed file
with
104 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters