hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2523) Unit test fails on Windows: TestDFSShell.testFilePermissions
Date Fri, 04 Jan 2008 18:45:34 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-2523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556018#action_12556018
] 

Raghu Angadi commented on HADOOP-2523:
--------------------------------------

This test passes on my local XP. We can actually remove the assest. What is happening is that
on windows nightly build, System.getProperty("user.name") returns "SYSTEM" where as the process
is actually owned by "hadoopqa" (ie, hadoopqa is the owner of the file created by this test).
I don't know the source of this difference.

This assert does not really test any ch* commands. So can be removed.

> Unit test fails on Windows: TestDFSShell.testFilePermissions
> ------------------------------------------------------------
>
>                 Key: HADOOP-2523
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2523
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.16.0
>         Environment: Windows
>            Reporter: Mukund Madhugiri
>            Assignee: Raghu Angadi
>            Priority: Blocker
>             Fix For: 0.16.0
>
>
> Unit test fails on Windows:
> org.apache.hadoop.dfs.TestDFSShell.testFilePermissions
> junit.framework.ComparisonFailure: expected:<SYSTEM> but was:<hadoopqa>
> 	at org.apache.hadoop.dfs.TestDFSShell.testFilePermissions(TestDFSShell.java:346)
> Standard Error: 
> text: /texttest/file.gz
> cat: java.io.IOException: File does not exist: /test/mkdirs/myFile1
> rm: Delete failed /test/mkdirs/myFile1
> cp: Cannot copy /test/dir1 to its subdirectory /test/dir1/dir2

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