Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 78429 invoked from network); 15 Dec 2009 00:02:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Dec 2009 00:02:41 -0000 Received: (qmail 91100 invoked by uid 500); 15 Dec 2009 00:02:41 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 91037 invoked by uid 500); 15 Dec 2009 00:02:41 -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 91024 invoked by uid 99); 15 Dec 2009 00:02:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 00:02:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 00:02:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4BE67234C498 for ; Mon, 14 Dec 2009 16:02:18 -0800 (PST) Message-ID: <71755211.1260835338309.JavaMail.jira@brutus> Date: Tue, 15 Dec 2009 00:02:18 +0000 (UTC) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Commented: (HADOOP-6391) Classpath should not be part of command line arguments In-Reply-To: <856288664.1259157759591.JavaMail.jira@brutus> 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-6391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790474#action_12790474 ] Hudson commented on HADOOP-6391: -------------------------------- Integrated in Hadoop-Common-trunk-Commit #111 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Common-trunk-Commit/111/]) . Classpath should not be part of command line arguments. Contributed by Cristian Ivascu. > Classpath should not be part of command line arguments > ------------------------------------------------------ > > Key: HADOOP-6391 > URL: https://issues.apache.org/jira/browse/HADOOP-6391 > Project: Hadoop Common > Issue Type: Bug > Components: scripts > Affects Versions: 0.21.0, 0.22.0 > Reporter: Cristian Ivascu > Assignee: Cristian Ivascu > Fix For: 0.22.0 > > Attachments: HADOOP-6391.patch > > > Because bin/hadoop and bin/hdfs put the entire CLASSPATH in the command line arguments, it exceeds 4096 bytes, which is the maximum size that ps (or /proc) can work with. This makes looking for the processes difficult, since the output gets truncated for all components at the same point (e.g. NameNode, SecondaryNameNode, DataNode). > The mapred sub-project does not have this problem, because it calls "export CLASSPATH" before the final exec. bin/hadoop and bin/hdfs should do the same thing -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.