[ 
https://issues.apache.org/jira/browse/HDFS-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Todd Lipcon resolved HDFS-1470.
-------------------------------

    Resolution: Duplicate

> TestFileStatus fails on some hosts
> ----------------------------------
>
>                 Key: HDFS-1470
>                 URL: https://issues.apache.org/jira/browse/HDFS-1470
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client, test
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>         Attachments: failed-TestFileStatus.txt
>
>
> Seems like it is DNS/canonicalized host name-related
> Testcase: testListStatusOnFile took 0.013 sec
>   FAILED
> expected:<org.apache.hadoop.fs.filesta...@cf68a8f0> but 
> was:<org.apache.hadoop.fs.filesta...@f5e942ef>
> junit.framework.AssertionFailedError: 
> expected:<org.apache.hadoop.fs.filesta...@cf68a8f0> but 
> was:<org.apache.hadoop.fs.filesta...@f5e942ef>
>   at 
> org.apache.hadoop.hdfs.TestFileStatus.testListStatusOnFile(TestFileStatus.java:160)
> Testcase: testGetFileStatusOnDir took 0.165 sec
>   Caused an ERROR
> expected:<hdfs://localhost[.localdomain]:34589/test/mkdirs/f...> but 
> was:<hdfs://localhost[]:34589/test/mkdirs/f...>
>   at 
> org.apache.hadoop.hdfs.TestFileStatus.testGetFileStatusOnDir(TestFileStatus.java:250)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to