Zhen Zhang created HELIX-520:
--------------------------------

             Summary: Stop ParticipantHealthReportTimer when Helix gets 
disconnected
                 Key: HELIX-520
                 URL: https://issues.apache.org/jira/browse/HELIX-520
             Project: Apache Helix
          Issue Type: Bug
            Reporter: Zhen Zhang


We see this exception occasionally, need to stop the timer task when helix gets 
disconnected:


ERROR [ParticipantHealthReportCollectorImpl] [ParticipantHealthReportTimerTask] 
[] fail to transmit health report
org.apache.helix.HelixException: HelixManager is not connected. Call 
HelixManager#connect()
        at 
org.apache.helix.manager.zk.ZKHelixManager.checkConnected(ZKHelixManager.java:300)
        at 
org.apache.helix.manager.zk.ZKHelixManager.getHelixDataAccessor(ZKHelixManager.java:448)
        at 
org.apache.helix.healthcheck.ParticipantHealthReportCollectorImpl.transmitHealthReports(ParticipantHealthReportCollectorImpl.java:103)
        at 
org.apache.helix.healthcheck.ParticipantHealthReportTask$ParticipantHealthReportTimerTask.run(ParticipantHealthReportTask.java:40)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)



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

Reply via email to