MRBench: setting the baseDir parameter has no effect
----------------------------------------------------

                 Key: MAPREDUCE-2398
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2398
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: benchmarks
    Affects Versions: 0.20.2
            Reporter: Michael Noll
            Priority: Minor


The optional {{-baseDir}} parameter lets user specify the base DFS path for 
output/input of MRBench.

However, the two private variables {{INPUT_DIR}} and {{OUTPUT_DIR}} 
(MRBench.java) are not updated in the case that the default value of  
{{-baseDir}} is actually overwritten by the user. Hence any input and output is 
always written to the default locations ({{/benchmarks/MRBench/...}}), even 
though the user-supplied location for {{-baseDir}} is created (and eventually 
deleted again) on HDFS.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to