[
https://issues.apache.org/jira/browse/HADOOP-14703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ronald Macmaster updated HADOOP-14703:
--------------------------------------
Attachment: HADOOP-14703.006.patch
I've added a Thread.sleep(3000) call after the metrics publishMetricsNow call.
hadoop-metrics2-test.properties must be sourced as a resource from the
classpath, and the GenericTestUtils.getTestDir() directory (target/test/data)
is not normally in the classpath. Now, the test tries to add target/test/data
to the classpath. The test works locally, but it fails on the Jenkins server
(despite correctly sourcing from hadoop-metrics2-test.properties). If the test
still fails on the Jenkins server with a 3 second delay, it may be best to
revert it to the original properties file creation method.
> ConsoleSink for metrics2
> ------------------------
>
> Key: HADOOP-14703
> URL: https://issues.apache.org/jira/browse/HADOOP-14703
> Project: Hadoop Common
> Issue Type: Improvement
> Components: common, metrics
> Affects Versions: 3.0.0-beta1
> Reporter: Ronald Macmaster
> Assignee: Ronald Macmaster
> Labels: newbie
> Attachments:
> 0001-HADOOP-14703.-ConsoleSink-for-simple-metrics-printin.patch,
> HADOOP-14703.001.patch, HADOOP-14703.002.patch, HADOOP-14703.003.patch,
> HADOOP-14703.004.patch, HADOOP-14703.006.patch
>
> Original Estimate: 6h
> Remaining Estimate: 6h
>
> The ConsoleSink will provide a simple solution to dump metrics to the console
> through std.out.
> Quick access to metrics through the console will simplify the development,
> testing, and debugging process.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]