Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-20179

AMS Collector shuts down with Helix-Zk related exception if partial /ambari-metrics-cluster znode exists.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • ambari-metrics
    • None

    Description

      Exception Trace

      2017-02-23 23:13:54,298 ERROR org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.HBaseTimelineMetricStore: org.I0Itec.zkclient.exception.ZkNoNodeException: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /ambari-metrics-cluster/INSTANCES
      2017-02-23 23:13:54,299 INFO org.apache.hadoop.service.AbstractService: Service org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.HBaseTimelineMetricStore failed in state INITED; cause: org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.MetricsSystemInitializationException: Unable to initialize HA controller
      org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.MetricsSystemInitializationException: Unable to initialize HA controller
              at org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.HBaseTimelineMetricStore.initializeSubsystem(HBaseTimelineMetricStore.java:114)
              at org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.HBaseTimelineMetricStore.serviceInit(HBaseTimelineMetricStore.java:93)
              at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
              at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
              at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.serviceInit(ApplicationHistoryServer.java:84)
              at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
              at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.launchAppHistoryServer(ApplicationHistoryServer.java:137)
              at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer.main(ApplicationHistoryServer.java:147)
      Caused by: org.I0Itec.zkclient.exception.ZkNoNodeException: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /ambari-metrics-cluster/INSTANCES
              at org.I0Itec.zkclient.exception.ZkException.create(ZkException.java:47)
              at org.I0Itec.zkclient.ZkClient.retryUntilConnected(ZkClient.java:1000)
              at org.apache.helix.manager.zk.ZkClient.getChildren(ZkClient.java:208)
              at org.I0Itec.zkclient.ZkClient.getChildren(ZkClient.java:672)
              at org.apache.helix.manager.zk.ZKHelixAdmin.getInstancesInCluster(ZKHelixAdmin.java:575)
              at org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.availability.MetricCollectorHAController.initializeHAController(MetricCollectorHAController.java:126)
              at org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.HBaseTimelineMetricStore.initializeSubsystem(HBaseTimelineMetricStore.java:111)
              ... 7 more
      Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /ambari-metrics-cluster/INSTANCES
              at org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
              at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
              at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1532)
              at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1560)
              at org.I0Itec.zkclient.ZkConnection.getChildren(ZkConnection.java:119)
              at org.apache.helix.manager.zk.ZkClient$3.call(ZkClient.java:211)
              at org.apache.helix.manager.zk.ZkClient$3.call(ZkClient.java:208)
              at org.I0Itec.zkclient.ZkClient.retryUntilConnected(ZkClient.java:990)
              ... 12 more
      

      Attachments

        1. AMBARI-20179.patch
          2 kB
          Aravindan Vijayan

        Activity

          People

            avijayan Aravindan Vijayan
            avijayan Aravindan Vijayan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: