Support Questions
Find answers, ask questions, and share your expertise

some of the ambari metrics display 'no data available'.

some of the ambari metrics display 'no data available'.

some of the ambari metrics display 'no data available'.

Getting below error message in ambari-metrics-collector.log

Caused by: maxStamp is smaller than minStamp at<init>( at org.apache.phoenix.util.ScanUtil.intersectTimeRange( at org.apache.phoenix.execute.BaseQueryPlan.iterator( ... 57 more 2018-03-07 04:16:56,736 WARN org.apache.hadoop.yarn.webapp.GenericExceptionHandler: INTERNAL_SERVER_ERROR java.lang.RuntimeException: maxStamp is smaller than minStamp at org.apache.phoenix.execute.BaseQueryPlan.iterator( at org.apache.phoenix.execute.BaseQueryPlan.iterator( at org.apache.phoenix.jdbc.PhoenixStatement$ at org.apache.phoenix.jdbc.PhoenixStatement$ at at org.apache.phoenix.jdbc.PhoenixStatement.executeQuery( at org.apache.phoenix.jdbc.PhoenixPreparedStatement.executeQuery( at org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.PhoenixHBaseAccessor.getAggregateMetricRecords( at org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.HBaseTimelineMetricStore.getTimelineMetrics( at org.apache.hadoop.yarn.server.applicationhistoryservice.webapp.TimelineWebServices.getTimelineMetrics( at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke(

Restarted Metrics Monitors and Metrics Collector, but still same issue.

I need some help please.



Re: some of the ambari metrics display 'no data available'.

Super Mentor

@Srini K

Which version of ambari are you using?

# rpm -qa | grep ambari

I have seen similar errors in very old version of Ambari Metrics Collector:

By any chance you have upgraded your Ambari / Metrics Collector recently?

Is there a Client API which is attempting to make a call to AMS Rest APIs with incorrect start & end stamps?