You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2009/04/12 09:23:14 UTC

[jira] Commented: (CHUKWA-123) regression on chukwa-hadoop-client.jar

    [ https://issues.apache.org/jira/browse/CHUKWA-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698177#action_12698177 ] 

Eric Yang commented on CHUKWA-123:
----------------------------------

Looks like the output directory is not set in chukwa-hadoop-metrics.log4j.properties.

2009-04-12 07:00:47,535 WARN org.apache.hadoop.chukwa.inputtools.log4j.Log4JMetricsContext: Log4JMetricsContext.dfs.directory is null
2009-04-12 07:00:47,536 ERROR org.apache.hadoop.util.MetricsUtil: Unable to create metrics context dfs^D
org.apache.hadoop.metrics.MetricsException: Invalid output directory: null^D
        at org.apache.hadoop.chukwa.inputtools.log4j.Log4JMetricsContext.init(Log4JMetricsContext.java:75)^D
        at org.apache.hadoop.metrics.ContextFactory.getContext(ContextFactory.java:134)^D
        at org.apache.hadoop.metrics.MetricsUtil.getContext(MetricsUtil.java:56)^D
        at org.apache.hadoop.metrics.MetricsUtil.getContext(MetricsUtil.java:45)^D
        at org.apache.hadoop.dfs.datanode.metrics.DataNodeMetrics.<init>(DataNodeMetrics.java:100)^D
        at org.apache.hadoop.dfs.DataNode.startDataNode(DataNode.java:387)^D
        at org.apache.hadoop.dfs.DataNode.<init>(DataNode.java:224)^D
        at org.apache.hadoop.dfs.DataNode.makeInstance(DataNode.java:3070)^D
        at org.apache.hadoop.dfs.DataNode.instantiateDataNode(DataNode.java:3025)^D
        at org.apache.hadoop.dfs.DataNode.createDataNode(DataNode.java:3033)^D
        at org.apache.hadoop.dfs.DataNode.main(DataNode.java:3155)


> regression on chukwa-hadoop-client.jar
> --------------------------------------
>
>                 Key: CHUKWA-123
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-123
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>          Components: input tools
>    Affects Versions: 0.1.2
>         Environment: Redhat 5.1, Java 6
>            Reporter: Eric Yang
>            Priority: Blocker
>             Fix For: 0.1.2
>
>
> There is currently no metrics file being generated by Log4jMetricsContext plugin.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.