helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HELIX-550) ZKHelixManager does not shutdown GenericHelixController threads.
Date Wed, 19 Nov 2014 04:23:34 GMT

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

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_r20557176
  
    --- 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 --
    
    Can you change this to a constant variable?


> 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)

Mime
View raw message