[ 
https://issues.apache.org/jira/browse/HELIX-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14217396#comment-14217396
 ] 

ASF GitHub Bot commented on HELIX-550:
--------------------------------------

Github user kanakb commented on a diff in the pull request:

    https://github.com/apache/helix/pull/11#discussion_r20557259
  
    --- Diff: 
helix-core/src/main/java/org/apache/helix/controller/GenericHelixController.java
 ---
    @@ -573,6 +573,15 @@ public void shutdownClusterStatusMonitor(String 
clusterName) {
         }
       }
     
    +  public void shutdown() throws InterruptedException {
    +    stopRebalancingTimer();
    +    while (_eventThread.isAlive())
    +    {
    +      _eventThread.interrupt();
    +      _eventThread.join(1000);
    --- End diff --
    
    Maybe something like `EVENT_THREAD_JOIN_TIMEOUT`?


> ZKHelixManager does not shutdown GenericHelixController threads.
> ----------------------------------------------------------------
>
>                 Key: HELIX-550
>                 URL: https://issues.apache.org/jira/browse/HELIX-550
>             Project: Apache Helix
>          Issue Type: Bug
>            Reporter: Antony T Curtis
>            Priority: Critical
>
> ZKHelixManager does not shutdown GenericHelixController threads.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to