Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 291 invoked from network); 27 Mar 2009 13:27:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Mar 2009 13:27:21 -0000 Received: (qmail 3159 invoked by uid 500); 27 Mar 2009 13:27:19 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 3102 invoked by uid 500); 27 Mar 2009 13:27:19 -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 3092 invoked by uid 99); 27 Mar 2009 13:27:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Mar 2009 13:27:19 +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; Fri, 27 Mar 2009 13:27:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 95DF8234C003 for ; Fri, 27 Mar 2009 06:26:50 -0700 (PDT) Message-ID: <953190799.1238160410599.JavaMail.jira@brutus> Date: Fri, 27 Mar 2009 06:26: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=12689892#action_12689892 ] Bill Habermaas commented on HADOOP-5191: ---------------------------------------- This issue probably needs to be reopened. I have discovered that map/reduce also has dependency on how hdfs is connected (hostname as opposed to IP address). I don't think this should be reported as another jira but what do you think? Guys - there has to be a cleaner way to handle hostname/IP usage that works across the board. 2009-03-27 04:15:45,045 WARN [Thread-145] org.apache.hadoop.mapred.LocalJobRunner: job_local_0002 java.io.IOException: Can not get the relative path: base = hdfs://10.120.16.68:9000/mydata/2009/03/27/0bab100a-1bf1-499a-935d-bc4b4e94f44c/_temporary/_attempt_local_0002_r_000000_0 child = hdfs://p520aix61.mydomain.com:9000/mydata/2009/03/27/0bab100a-1bf1-499a-935d-bc4b4e94f44c/_temporary/_attempt_local_0002_r_000000_0/part-00000 at org.apache.hadoop.mapred.Task.getFinalPath(Task.java:586) at org.apache.hadoop.mapred.Task.moveTaskOutputs(Task.java:599) at org.apache.hadoop.mapred.Task.moveTaskOutputs(Task.java:617) at org.apache.hadoop.mapred.Task.saveTaskOutput(Task.java:561) at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:202) > 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: Raghu Angadi > Priority: Minor > Fix For: 0.21.0 > > Attachments: 5191-1.patch, HADOOP-5191.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.