Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 23996 invoked from network); 10 Apr 2007 21:22:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Apr 2007 21:22:56 -0000 Received: (qmail 51599 invoked by uid 500); 10 Apr 2007 21:23:00 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 51480 invoked by uid 500); 10 Apr 2007 21:22:59 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 51461 invoked by uid 99); 10 Apr 2007 21:22:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2007 14:22:59 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2007 14:22:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C3A8671407C for ; Tue, 10 Apr 2007 14:22:32 -0700 (PDT) Message-ID: <20844247.1176240152798.JavaMail.jira@brutus> Date: Tue, 10 Apr 2007 14:22:32 -0700 (PDT) From: "Michael Bieniosek (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-1114) bin/hadoop script clobbers CLASSPATH In-Reply-To: <18811152.1173745209233.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-1114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487926 ] Michael Bieniosek commented on HADOOP-1114: ------------------------------------------- While I accept that using CLASSPATH for dependencies is fragile and hacky, I'm not sure why HADOOP_CLASSPATH is any different. It seems both environment variables are equally abusable. Using CLASSPATH is much more intuitive than the nonstandard HADOOP_CLASSPATH. The only problem that HADOOP_CLASSPATH seems to solve is that a caller script might leave inherited garbage in CLASSPATH before adding more jars. But that should be the responsibility of the caller script, I think. > bin/hadoop script clobbers CLASSPATH > ------------------------------------ > > Key: HADOOP-1114 > URL: https://issues.apache.org/jira/browse/HADOOP-1114 > Project: Hadoop > Issue Type: Bug > Components: scripts > Affects Versions: 0.12.0 > Reporter: Michael Bieniosek > Priority: Minor > Fix For: 0.13.0 > > Attachments: hadoop-no-clobber-classpath.patch > > > The bin/hadoop script distributed with hadoop clobbers the user's CLASSPATH. This prevents ad-hoc appending to the CLASSPATH. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.