pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Schwenk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-2734) UnitTests skipped with errors when run with umask 0002
Date Mon, 04 Jun 2012 07:32:23 GMT

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

Johannes Schwenk commented on PIG-2734:
---------------------------------------

Ok, thanks! My bad! 

I still think this should also be mentioned in the online docs ...

So I edited the documentation in confluence 

https://cwiki.apache.org/confluence/display/PIG/HowToTest

                
> 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

        

Mime
View raw message