You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Raghu Angadi (JIRA)" <ji...@apache.org> on 2008/10/10 01:42:44 UTC
[jira] Assigned: (HADOOP-4387) TestHDFSFileSystemContract fails on
windows
[ https://issues.apache.org/jira/browse/HADOOP-4387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raghu Angadi reassigned HADOOP-4387:
------------------------------------
Assignee: Enis Soztutar
Enis,
Could you check this mismatch between how "user" name is calculated. You added this test quite sometime back.
Same issue existed in Windows before in HADOOP-2523, but there the resolution was simpler : just removing the assert :). Here, it seem like "user.name" is used in other places like S3.
> 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.