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

Thomas Weise commented on PIG-2431:
-----------------------------------

It turns out that umask does not work as expected for newly created directories 
on the problem environments and this causes 20.205 mini cluster to bail. I 
tried to set 775 via junit command line:

ant -Ddfs.datanode.data.dir.perm=775 -Dtestcase=TestBuiltin test-commit

or by setting it in MinCluster.java:

m_conf.set("dfs.datanode.data.dir.perm", "775");

neither of above works. How can I set the expected directory permission for the 
mini cluster in the unit tests?

                
> Upgrade bundled hadoop version to 20.205
> ----------------------------------------
>
>                 Key: PIG-2431
>                 URL: https://issues.apache.org/jira/browse/PIG-2431
>             Project: Pig
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 0.9.1, 0.10, 0.11
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.10, 0.9.2, 0.11
>
>         Attachments: PIG-2431-1.patch, PIG-2431-2.patch
>
>
> Pig bundles hadoop 20.2 for local mode and unit tests. 20.2 is pretty old, 
> we'd better upgrade to a newer version.

--
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