From hdfs-issues-return-20266-apmail-hadoop-hdfs-issues-archive=hadoop.apache.org@hadoop.apache.org Fri Jun 3 16:49:31 2011 Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DD0566456 for ; Fri, 3 Jun 2011 16:49:30 +0000 (UTC) Received: (qmail 49826 invoked by uid 500); 3 Jun 2011 16:49:30 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 49721 invoked by uid 500); 3 Jun 2011 16:49:30 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 49713 invoked by uid 99); 3 Jun 2011 16:49:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 16:49:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 16:49:28 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 65ECAF2052 for ; Fri, 3 Jun 2011 16:48:47 +0000 (UTC) Date: Fri, 3 Jun 2011 16:48:47 +0000 (UTC) From: "Aaron T. Myers (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1566798065.66279.1307119727414.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <453562788.54135.1306786907628.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2014) RPM packages broke bin/hdfs script 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/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043865#comment-13043865 ] Aaron T. Myers commented on HDFS-2014: -------------------------------------- Eric, I totally agree. The observation I'm making is that the `bin-package' targets don't seem to work as-is. It used to be that you could do the following: # Run {{`ant bin-package'}} in your hadoop-common checkout. # Set {{HADOOP_COMMON_HOME}} to the built directory of hadoop-common. # Run {{`ant bin-package'}} in your hadoop-hdfs checkout. # Set {{HADOOP_HDFS_HOME}} to the built directory of hadoop-hdfs. # Set {{PATH}} to have {{HADOOP_HDFS_HOME/bin}} and {{HADOOP_COMMON_HOME/bin}} on it. # Run {{`hdfs'}}. This no longer works since {{hdfs-config.sh}} is looking in {{HADOOP_COMMON_HOME/bin/}} for {{hadoop-config.sh}}, but it's being placed in {{HADOOP_COMMON_HOME/libexec}}. I realize this is somewhat different than the original observation in this JIRA, but the two are highly related ({{hdfs-config.sh}} looking in the wrong place for {{hadoop-config.sh}}.) Feel free to say this should be filed as a new JIRA. As an aside, the title of this JIRA should probably be changed to something like "bin/hdfs no longer works from a source checkout." > RPM packages broke bin/hdfs script > ---------------------------------- > > Key: HDFS-2014 > URL: https://issues.apache.org/jira/browse/HDFS-2014 > Project: Hadoop HDFS > Issue Type: Bug > Components: scripts > Affects Versions: 0.23.0 > Reporter: Todd Lipcon > Assignee: Eric Yang > Priority: Critical > Fix For: 0.23.0 > > Attachments: HDFS-2014-1.patch, HDFS-2014-2.patch, HDFS-2014.patch > > > bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a source checkout: > todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode > ./bin/hdfs: line 22: /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or directory > ./bin/hdfs: line 138: cygpath: command not found > ./bin/hdfs: line 161: exec: : not found -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira