[ 
https://issues.apache.org/jira/browse/MAPREDUCE-2817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Harsh J updated MAPREDUCE-2817:
-------------------------------

    Attachment: MAPREDUCE-2817.r1.diff

Patch that incorporates Alejandro's suggestion with "test.build.mapred" sysprop.

Ran a sample MR cluster program to test change.
{code}
   [junit] Running org.apache.hadoop.mapred.TestMiniMRChildTask
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 119.227 sec
{code}

> MiniRMCluster hardcodes 'mapred.local.dir' configuration to 
> 'build/test/mapred/local'
> -------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-2817
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2817
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>         Environment: all
>            Reporter: Alejandro Abdelnur
>            Assignee: Harsh J
>            Priority: Minor
>         Attachments: MAPREDUCE-2817.r1.diff
>
>
> The {{mapred.local.dir}} configuration property for the {{MiniMRCluster}} is 
> forced to {{build/test/mapred/local}}
> This is inconvenient in different situations. For example:
> * When running multiple tests using {{MiniMRCluster}} is not possible to see 
> the end state of the dir for a particular test
> * When using {{MiniMRCluster}} in another build system (i.e. Maven) that uses 
> a different output directory (target instead build)

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

        

Reply via email to