You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Wilfred Spiegelenburg (JIRA)" <ji...@apache.org> on 2016/04/21 05:04:25 UTC

[jira] [Commented] (MAPREDUCE-2398) MRBench: setting the baseDir parameter has no effect

    [ https://issues.apache.org/jira/browse/MAPREDUCE-2398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15251168#comment-15251168 ] 

Wilfred Spiegelenburg commented on MAPREDUCE-2398:
--------------------------------------------------

[~yanghaogn] do you mind if I assign this one to me?


> 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: 2.3.0
>            Reporter: Michael Noll
>            Assignee: Yang Hao
>            Priority: Minor
>         Attachments: MAPREDUCE-2398-trunk.patch, MAPREDUCE-2398.2.patch, MAPREDUCE-2398_0.20.2.patch, MAPREDUCE-2398_v2-0.20.203.0.patch, MAPREDUCE-2398_v2-trunk.patch
>
>
> 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.
> The bug affects at least Hadoop 0.20.2 and the current trunk (r1082703) as of March 21, 2011.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)