ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez" <afernan...@hortonworks.com>
Subject Re: Review Request 28569: Metric Collector dies if HBase is not initialized
Date Mon, 01 Dec 2014 19:31:44 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28569/#review63418
-----------------------------------------------------------

Ship it!


Ship It!

- Alejandro Fernandez


On Dec. 1, 2014, 7:27 p.m., Sid Wagle wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28569/
> -----------------------------------------------------------
> 
> (Updated Dec. 1, 2014, 7:27 p.m.)
> 
> 
> Review request for Ambari, Dmytro Sen and Myroslav Papirkovskyy.
> 
> 
> Bugs: AMBARI-8500
>     https://issues.apache.org/jira/browse/AMBARI-8500
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 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}
> 
> 
> Diffs
> -----
> 
>   ambari-metrics/ambari-metrics-hadoop-timelineservice/pom.xml 6115d7b 
>   ambari-metrics/ambari-metrics-hadoop-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/ConnectionProvider.java
87650af 
>   ambari-metrics/ambari-metrics-hadoop-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/DefaultPhoenixDataSource.java
679ee36 
>   ambari-metrics/ambari-metrics-hadoop-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/HBaseTimelineMetricStore.java
a3eb731 
>   ambari-metrics/ambari-metrics-hadoop-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/MetricsInitializationException.java
PRE-CREATION 
>   ambari-metrics/ambari-metrics-hadoop-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixHBaseAccessor.java
269a2d7 
>   ambari-metrics/ambari-metrics-hadoop-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/TimelineMetricConfiguration.java
d17b1e4 
>   ambari-metrics/ambari-metrics-hadoop-timelineservice/src/test/resources/log4j.properties
8520d48 
>   ambari-metrics/ambari-metrics-hadoop-timelineservice/src/test/resources/logging.properties
f5edede 
> 
> Diff: https://reviews.apache.org/r/28569/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Sid Wagle
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message