hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronald Macmaster (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-14703) ConsoleSink for metrics2
Date Wed, 23 Aug 2017 08:04:00 GMT

     [ 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,
>   Original Estimate: 6h
>  Remaining Estimate: 6h
> The ConsoleSink will provide a simple solution to dump metrics to the console through
> Quick access to metrics through the console will simplify the development, testing, and
debugging process.

This message was sent by Atlassian JIRA

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

View raw message