From common-dev-return-75457-apmail-hadoop-common-dev-archive=hadoop.apache.org@hadoop.apache.org Thu Jun 9 21:58:23 2011 Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D2E606DD5 for ; Thu, 9 Jun 2011 21:58:23 +0000 (UTC) Received: (qmail 50298 invoked by uid 500); 9 Jun 2011 21:58:22 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 50203 invoked by uid 500); 9 Jun 2011 21:58:22 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 50187 invoked by uid 99); 9 Jun 2011 21:58:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2011 21:58:22 +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; Thu, 09 Jun 2011 21:58:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0B0CD10BD28 for ; Thu, 9 Jun 2011 21:57:59 +0000 (UTC) Date: Thu, 9 Jun 2011 21:57:59 +0000 (UTC) From: "Eli Collins (JIRA)" To: common-dev@hadoop.apache.org Message-ID: <1301995816.8773.1307656679042.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HADOOP-7374) hadoop-config.sh shouldn't add tools.jar to the classpath 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 hadoop-config.sh shouldn't add tools.jar to the classpath --------------------------------------------------------- Key: HADOOP-7374 URL: https://issues.apache.org/jira/browse/HADOOP-7374 Project: Hadoop Common Issue Type: Improvement Components: scripts Reporter: Eli Collins Assignee: Eli Collins bin/hadoop-config.sh (and bin/rcc) add lib/tools.jar from JAVA_HOME to the classpath. This has been there since the initial commit of bin/hadoop, but I don't think it's needed. *Executing* Hadoop does not depend on tools.jar (or other libraries only available in the JDK, not the JRE) so let's not automatically add it. Marking this as an incompatible change since a job could potentially have relied on Hadoop adding tools.jar to the CLASSPATH automatically (though such a job would not have run on a system that did not have JAVA_HOME point to a jdk). The build of course still requires a JDK. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira