Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 18150 invoked from network); 24 Mar 2009 12:58:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Mar 2009 12:58:22 -0000 Received: (qmail 37750 invoked by uid 500); 24 Mar 2009 12:58:21 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 37676 invoked by uid 500); 24 Mar 2009 12:58:21 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 37666 invoked by uid 99); 24 Mar 2009 12:58:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2009 12:58:21 +0000 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2009 12:58:12 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C7D11234C003 for ; Tue, 24 Mar 2009 05:57:50 -0700 (PDT) Message-ID: <194625115.1237899470796.JavaMail.jira@brutus> Date: Tue, 24 Mar 2009 05:57:50 -0700 (PDT) From: "Bill Habermaas (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-5191) After creation and startup of the hadoop namenode on AIX or Solaris, you will only be allowed to connect to the namenode via hostname but not IP. In-Reply-To: <125000282.1233943559586.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-5191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688668#action_12688668 ] Bill Habermaas commented on HADOOP-5191: ---------------------------------------- Raghu - I haven't tried your patch as I have not had an opportunity but I assume you rewrote what I did due to the other comments on this jira. You might want to include my unit test with your patch so this gets through Hudson. > After creation and startup of the hadoop namenode on AIX or Solaris, you will only be allowed to connect to the namenode via hostname but not IP. > ------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-5191 > URL: https://issues.apache.org/jira/browse/HADOOP-5191 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Affects Versions: 0.19.1 > Environment: AIX 6.1 or Solaris > Reporter: Bill Habermaas > Assignee: Bill Habermaas > Priority: Minor > Attachments: 5191-1.patch, HADOOP-5191.patch, hadoop-5191.patch, TestHadoopHDFS.java > > > After creation and startup of the hadoop namenode on AIX or Solaris, you will only be allowed to connect to the namenode via hostname but not IP. > fs.default.name=hdfs://p520aix61.mydomain.com:9000 > Hostname for box is p520aix and the IP is 10.120.16.68 > If you use the following url, "hdfs://10.120.16.68", to connect to the namenode, the exception that appears below occurs. You can only connect successfully if "hdfs://p520aix61.mydomain.com:9000" is used. > Exception in thread "Thread-0" java.lang.IllegalArgumentException: Wrong FS: hdfs://10.120.16.68:9000/testdata, expected: hdfs://p520aix61.mydomain.com:9000 > at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:320) > at org.apache.hadoop.dfs.DistributedFileSystem.checkPath(DistributedFileSystem.java:84) > at org.apache.hadoop.dfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:122) > at org.apache.hadoop.dfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:390) > at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:667) > at TestHadoopHDFS.run(TestHadoopHDFS.java:116) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.