[ 
https://issues.apache.org/jira/browse/HDFS-874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797376#action_12797376
 ] 

Allen Wittenauer commented on HDFS-874:
---------------------------------------

I bet this is the issue I've seen here as well.  I was attempting to switch 
from blah.corp to blah.fqdn and lots of weirdness happened, especially with Pig.

> TestHDFSFileContextMainOperations fails on weirdly configured DNS hosts
> -----------------------------------------------------------------------
>
>                 Key: HDFS-874
>                 URL: https://issues.apache.org/jira/browse/HDFS-874
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client, test
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>
> On an internal build machine I see exceptions like this:
> java.lang.IllegalArgumentException: Wrong FS: 
> hdfs://localhost:47262/data/1/scratch/patchqueue/patch-worker-20518/patch_21/svnrepo/build/test/data/test/test/testRenameWithQuota/srcdir,
>  expected: hdfs://localhost.localdomain:47262
> "hostname" and "hostname -f" both show the machine's FQDN (not localhost). 
> /etc/hosts is stock after CentOS 5 install. "host 127.0.0.1" reverses to 
> "localhost"

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