You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2012/06/01 22:42:23 UTC

[jira] [Commented] (PIG-2734) UnitTests skipped with errors when run with umask 0002

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

Daniel Dai commented on PIG-2734:
---------------------------------

Hi, Johannes,
It is noted in RELEASE_NOTES.txt.
                
> UnitTests skipped with errors when run with umask 0002
> ------------------------------------------------------
>
>                 Key: PIG-2734
>                 URL: https://issues.apache.org/jira/browse/PIG-2734
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Johannes Schwenk
>            Priority: Minor
>
> I just figured out why the tests started with 
> # ant test
> had errors. I found in the logfiles that MiniDFSCluster for example expects dfs data directories that are not group-writable! So doing
> # umask 0022 && ant test
> makes the tests run again.
> Alternatively on recent Ubuntu versions you can change USERGROUPS_ENAB in /etc/login.defs to "no"...
> This should be noted somewhere in the docs.

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