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-4387) TestHDFSFileSystemContract fails on windows
Date Fri, 17 Oct 2008 22:42:44 GMT

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

Raghu Angadi commented on HADOOP-4387:
--------------------------------------

Will check. 

But I don't know what the motivation for this test is. All it is testing is 'whoami' and 'user.name'
should have the same name.. HDFS does not depend on it.. so HDFS should not be tested for
it.  Could you explain what this tests?


> TestHDFSFileSystemContract fails on windows
> -------------------------------------------
>
>                 Key: HADOOP-4387
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4387
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: test
>            Reporter: Raghu Angadi
>            Assignee: Enis Soztutar
>            Priority: Blocker
>             Fix For: 0.19.0
>
>
> 'ant -Dtestcase=TestHDFSFileSystemContract test-core' fails on Windows nightly build
machine. 
> Not sure if this is Hadoop error or a configuration error particular to this machine.
Basically the following assert fails :
> {noformat}
>     Path workDir = path(getDefaultWorkingDirectory());
>     assertEquals(workDir, fs.getWorkingDirectory());
> {noformat}
> This is essentially testing that {{System.getProperty("user.name")}} is same as string
returned by Cygwin's 'whoami'. But in this case, these are "SYSTEM" and "hadoopqa" respectively.

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