[
https://issues.apache.org/jira/browse/CHUKWA-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708614#action_12708614
]
Jerome Boulon commented on CHUKWA-216:
--------------------------------------
>> postProcessManager should locate name node address and job tracker address
>> from HADOOP_CONF_DIR or class path.
PostProcessManager is currently getting the configuration from
ChukwaConfiguration class and loading hadoop-site.xml from the correct location.
So could you be more specific on what's problem you are trying to solve?
// Hadoop config
String hadoopConfDir = System.getenv("HADOOP_CONF_DIR");
if (hadoopConfDir != null) {
super.addResource(new Path(hadoopConfDir + "/hadoop-site.xml"));
log.debug("added " + hadoopConfDir + "/hadoop-site.xml to
ChukwaConfiguration");
} else {
String hadoopHome = System.getenv("HADOOP_HOME");
if (hadoopHome != null) {
super.addResource(new Path(hadoopHome + "/conf/hadoop-site.xml"));
log.debug("added " + hadoopHome + "/hadoop-site.xml to
ChukwaConfiguration");
}
}
> postProcess.sh should locate hadoop-site.xml in HADOOP_CONF_DIR
> ---------------------------------------------------------------
>
> Key: CHUKWA-216
> URL: https://issues.apache.org/jira/browse/CHUKWA-216
> Project: Hadoop Chukwa
> Issue Type: Bug
> Components: Data Processors
> Environment: Redhat EL 5.1, Java 6
> Reporter: Eric Yang
> Assignee: Jerome Boulon
> Priority: Blocker
>
> postProcess.sh is currently hard coded to CHUKWA_HOME/conf as class path for
> locating configuration.
> postProcessManager should locate name node address and job tracker address
> from HADOOP_CONF_DIR or class path.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.