Siddharth Wagle created AMBARI-8500:
---------------------------------------
Summary: Metric Collector dies if HBase is not initialized
Key: AMBARI-8500
URL: https://issues.apache.org/jira/browse/AMBARI-8500
Project: Ambari
Issue Type: Task
Components: ambari-metrics
Affects Versions: 2.0.0
Reporter: Siddharth Wagle
Assignee: Siddharth Wagle
Fix For: 2.0.0
After receiving exception that hbase is not initialized yet, collector
continues to create schema
{noformat}
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
{noformat}
{noformat}
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)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)