[ https://issues.apache.org/jira/browse/HADOOP-6348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797498#action_12797498 ]
Amareshwari Sriramadasu commented on HADOOP-6348: ------------------------------------------------- If I have configuration specified for "mapred.job.tracker" or "fs.default.name" or any other in $HADOOP_HOME/conf/hadoop-site.xml, and run a test, the configuration from $HADOOP_HOME/conf/hadoop-site.xml is picked up. But, the tests are expected to pickup configuration from src/test/*-site.xml, not from $HADOOP_HOME/conf/*-site.xml. Steps to reproduce: 1. Specify fs.default.name as hdfs://localhost:19000 in $HADOOP-HOME/conf/hadoop-site.xml 2. Run TestMiniMRLocalFS using ant test -Dtestcase=TestMiniMRLocalFS. The test would fail. > ant test command should not pick up hadoop-site.xml from conf directory > ------------------------------------------------------------------------ > > Key: HADOOP-6348 > URL: https://issues.apache.org/jira/browse/HADOOP-6348 > Project: Hadoop Common > Issue Type: Bug > Components: build > Affects Versions: 0.21.0 > Reporter: Amareshwari Sriramadasu > Priority: Blocker > Fix For: 0.21.0 > > > ant test command currently picks up hadoop-site.xml from conf directory. > This results in test failures if hadoop-site.xml has a different > configuration. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.