Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 C420147B6 for ; Sun, 12 Jun 2011 04:18:16 +0000 (UTC) Received: (qmail 13585 invoked by uid 500); 12 Jun 2011 04:18:16 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 13546 invoked by uid 500); 12 Jun 2011 04:18:15 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 13534 invoked by uid 99); 12 Jun 2011 04:18:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jun 2011 04:18:14 +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; Sun, 12 Jun 2011 04:18:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B77BE4142D5 for ; Sun, 12 Jun 2011 04:17:51 +0000 (UTC) Date: Sun, 12 Jun 2011 04:17:51 +0000 (UTC) From: "Eli Collins (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1873673710.285.1307852271748.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <308187203.8772.1307656679014.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HADOOP-7374) Don't add tools.jar to the classpath when running Hadoop 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-7374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eli Collins updated HADOOP-7374: -------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) > Don't add tools.jar to the classpath when running Hadoop > -------------------------------------------------------- > > 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 > Fix For: 0.23.0 > > Attachments: hadoop-7374-1.patch > > > 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