From hdfs-issues-return-24045-apmail-hadoop-hdfs-issues-archive=hadoop.apache.org@hadoop.apache.org Tue Aug 23 00:27:54 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 EA7368BBF for ; Tue, 23 Aug 2011 00:27:53 +0000 (UTC) Received: (qmail 97573 invoked by uid 500); 23 Aug 2011 00:27:53 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 97243 invoked by uid 500); 23 Aug 2011 00:27:53 -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 97223 invoked by uid 99); 23 Aug 2011 00:27:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2011 00:27:52 +0000 X-ASF-Spam-Status: No, hits=-2000.9 required=5.0 tests=ALL_TRUSTED,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; Tue, 23 Aug 2011 00:27:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5E770CA851 for ; Tue, 23 Aug 2011 00:27:29 +0000 (UTC) Date: Tue, 23 Aug 2011 00:27:29 +0000 (UTC) From: "Alejandro Abdelnur (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <478936482.3799.1314059249384.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <293825063.362.1313994509164.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2277) CLASSPATH for locating HDFS jar file is incorrect 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-2277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089177#comment-13089177 ] Alejandro Abdelnur commented on HDFS-2277: ------------------------------------------ 'mvn package -Pdist' creates the dist layout in 'target/-' You can set the *_HOME & PATH to to the locations in 'target/-' & 'target/-/bin' and you achieve the same result. And, on the plus side the scripts don't have to handle devel/dist mode, just dist mode. The overhead of running 'mvn package -Pdist' (if you don't do use -Psrc and -Pdocs) is minimal (a few seconds if). > CLASSPATH for locating HDFS jar file is incorrect > ------------------------------------------------- > > Key: HDFS-2277 > URL: https://issues.apache.org/jira/browse/HDFS-2277 > Project: Hadoop HDFS > Issue Type: Bug > Components: scripts > Affects Versions: 0.23.0 > Reporter: Eric Yang > Assignee: Eric Yang > Fix For: 0.23.0 > > Attachments: HDFS-2277-1.patch, HDFS-2277.patch > > > CLASSPATH for hdfs jar files should be set to HADOOP_PREFIX/share/hadoop/hdfs. Trunk code is looking for jar files in HADOOP_PREFIX/share/hadoop-hdfs. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira