hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjay Radia (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2442) Unit test failed: org.apache.hadoop.fs.TestLocalFileSystemPermission.testLocalFSsetOwner
Date Fri, 28 Dec 2007 19:58:43 GMT

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


Mime
View raw message