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

Metric Collector dies if HBase is not initialized

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • ambari-metrics
    • None

    Description

      After receiving exception that hbase is not initialized yet, collector continues to create schema

      2014-11-14 16:33:13,725 WARN  [main] timeline.PhoenixHBaseAccessor (PhoenixHBaseAccessor.java:getConnection(129)) - Unable to connect to HBase store using Phoenix.
      org.apache.phoenix.exception.PhoenixIOException: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
      
      2014-11-14 16:33:13,732 INFO  [main] timeline.PhoenixHBaseAccessor (PhoenixHBaseAccessor.java:initMetricSchema(191)) - Initializing metrics schema...
      2014-11-14 16:33:13,732 INFO  [main] service.AbstractService (AbstractService.java:noteFailure(272)) - Service org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.HBaseTimelineMetricStore failed in state INITED; cause: java.lang.NullPointerException
      java.lang.NullPointerException
              at org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.PhoenixHBaseAccessor.initMetricSchema(PhoenixHBaseAccessor.java:192)
      

      Attachments

        Issue Links

          Activity

            People

              swagle Siddharth Wagle
              swagle Siddharth Wagle
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: