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

Alejandro Abdelnur commented on MAPREDUCE-3445:
-----------------------------------------------

I'm don't know about this particular dir creation, what I've found out in some 
situations is that often testcases create test file in the current directory. 
In streaming I've quickly-dirty fixed those testcases by adding 'target/' to 
those paths.

I've seen this problem since always when using an IDE (which different than 
Maven the running directory is from where you started the IDE).

IMO the right way of fixing this would be to have a Test Helper class that 
gives you a local base dir for a testcase and a HDFS base dir for a testcase 
(for every testcase it should be a different dir). Then we should retrofit all 
testcases to use this helper class
                
> 'Users' directory in hadoop-mapreduce-project with eclipse files
> ----------------------------------------------------------------
>
>                 Key: MAPREDUCE-3445
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3445
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: build, mrv2
>            Reporter: Arun C Murthy
>
> 'Users' directory is now being created in hadoop-mapreduce-project with 
> eclipse files, looks like recent mavenization changes?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to