[ https://issues.apache.org/jira/browse/HADOOP-2442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554830 ]
Sanjay Radia commented on HADOOP-2442: -------------------------------------- TestLocalFileSystemPermission.java if (groups == null) { System.out.println("Cannot run test: need at least one group. groups=" + groups); return; } change to if (groups == null || groups.size() < 1) { ..... } Otherwise it looks fine. > Unit test failed: > org.apache.hadoop.fs.TestLocalFileSystemPermission.testLocalFSsetOwner > ---------------------------------------------------------------------------------------- > > Key: HADOOP-2442 > URL: https://issues.apache.org/jira/browse/HADOOP-2442 > Project: Hadoop > Issue Type: Bug > Components: fs > Affects Versions: 0.16.0 > Environment: Linux > Reporter: Mukund Madhugiri > Assignee: Raghu Angadi > Priority: Critical > Fix For: 0.16.0 > > Attachments: HADOOP-2442.patch, HADOOP-2442.patch, HADOOP-2442.patch, > HADOOP-2442.patch, HADOOP-2442.patch, HADOOP-2442.patch, HADOOP-2442.patch > > > Unit test failed on Linux: > Test: org.apache.hadoop.fs.TestLocalFileSystemPermission.testLocalFSsetOwner > junit.framework.ComparisonFailure: expected:<users> but was:<> > at > org.apache.hadoop.fs.TestLocalFileSystemPermission.testLocalFSsetOwner(TestLocalFileSystemPermission.java:130) > Standard Output > foo: rw-r--r-- > bar: rw-r--r-- -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.