[
https://issues.apache.org/jira/browse/TWILL-133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14584316#comment-14584316
]
ASF GitHub Bot commented on TWILL-133:
--------------------------------------
GitHub user chtyim opened a pull request:
https://github.com/apache/incubator-twill/pull/41
(TWILL-133) Make the ZKClient stoppable even it is still trying to connect
- Also include refactoring of the DefaultZKClient class to simplify
shutdown logic
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/chtyim/incubator-twill feature/twill-133
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-twill/pull/41.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #41
----
commit bf368ed5c6f4832df21fc941888e8dd921cb3064
Author: Terence Yim <[email protected]>
Date: 2015-06-13T00:13:05Z
(TWILL-133) Make the ZKClient stoppable even it is still trying to connect
- Also include refactoring of the DefaultZKClient class to simplify
shutdown logic
----
> ZookeeperClientService may hang at startup and then cannot be stopped
> ---------------------------------------------------------------------
>
> Key: TWILL-133
> URL: https://issues.apache.org/jira/browse/TWILL-133
> Project: Apache Twill
> Issue Type: Bug
> Reporter: Andreas Neumann
>
> If the Zookeeper quorum is configured incorrectly, then the ZK client service
> will wait for ZK to come up, and it won't start until it can connect to ZK.
> While it is in this state, it can now not be stopped, because stop() will
> wait for the state to become RUNNING before it does anything.
> There should be a way to stop a service that hangs at startup.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)