[Bug-3140]fix the deadlock between start and stop of ZKServer#3141
Merged
qiaozhanwei merged 10 commits intoapache:devfrom Jul 13, 2020
Merged
[Bug-3140]fix the deadlock between start and stop of ZKServer#3141qiaozhanwei merged 10 commits intoapache:devfrom
qiaozhanwei merged 10 commits intoapache:devfrom
Conversation
davidzollo
reviewed
Jul 6, 2020
dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/zk/ZKServerTest.java
Outdated
Show resolved
Hide resolved
davidzollo
reviewed
Jul 6, 2020
dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/zk/ZKServerTest.java
Outdated
Show resolved
Hide resolved
dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/zk/ZKServer.java
Outdated
Show resolved
Hide resolved
dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/zk/ZKServer.java
Outdated
Show resolved
Hide resolved
dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/zk/ZKServer.java
Outdated
Show resolved
Hide resolved
dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/zk/ZKServer.java
Outdated
Show resolved
Hide resolved
dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/zk/ZKServer.java
Outdated
Show resolved
Hide resolved
…uler/service/zk/ZKServer.java Co-authored-by: Yichao Yang <1048262223@qq.com>
|
Kudos, SonarCloud Quality Gate passed!
|
| logger.info("Zookeeper data path : {} ", dataDirPath); | ||
| dataDir = dataDirPath; | ||
| final String[] args = new String[]{Integer.toString(port), dataDirPath, Integer.toString(tickTime), maxClientCnxns}; | ||
| private void startLocalZkServer(final int port, final String dataDirPath,final int tickTime,String maxClientCnxns) { |
Contributor
There was a problem hiding this comment.
Suggested change
| private void startLocalZkServer(final int port, final String dataDirPath,final int tickTime,String maxClientCnxns) { | |
| private void startLocalZkServer(final int port, final String dataDirPath, final int tickTime, String maxClientCnxns) { |
Hi,
Thx a lot for your good job and contribution.
Please configure the checkstyle.xml plugin[1] to your IDE to help format code.
[1] https://github.com/apache/incubator-dolphinscheduler/tree/dev/style
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix #3140
Tips
What is the purpose of the pull request
(For example: This pull request adds checkstyle plugin.)
Brief change log
(for example:)
Verify this pull request
(Please pick either of the following options)
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)