hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naganarasimha G R (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-13806) MetricsSourceBuilder doesn't set hasAtMetric when the Source object is reregistered
Date Thu, 10 Nov 2016 13:30:58 GMT
Naganarasimha G R created HADOOP-13806:
------------------------------------------

             Summary: MetricsSourceBuilder doesn't set hasAtMetric when the Source object
is reregistered
                 Key: HADOOP-13806
                 URL: https://issues.apache.org/jira/browse/HADOOP-13806
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Naganarasimha G R



We are trying to register a Object (instance of MetricsObject) which has already been registered
and unregistered. During this operation we got an exception during MetricsSourceBuilder.build()
{code}
org.apache.hadoop.metrics2.MetricsException: No valid @Metric annotation found.
	at org.apache.hadoop.metrics2.lib.MetricsSourceBuilder.build(MetricsSourceBuilder.java:83)
	at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.register(MetricsSystemImpl.java:225)
	at org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl.testUnregisterSource(TestMetricsSystemImpl.java:417)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message