Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 52755 invoked from network); 1 Sep 2008 10:06:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Sep 2008 10:06:08 -0000 Received: (qmail 24768 invoked by uid 500); 1 Sep 2008 10:06:04 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 24549 invoked by uid 500); 1 Sep 2008 10:06:03 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 24527 invoked by uid 99); 1 Sep 2008 10:06:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Sep 2008 03:06:03 -0700 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; Mon, 01 Sep 2008 10:05:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4BF1C234C1C6 for ; Mon, 1 Sep 2008 03:05:44 -0700 (PDT) Message-ID: <532226084.1220263544310.JavaMail.jira@brutus> Date: Mon, 1 Sep 2008 03:05:44 -0700 (PDT) From: "Sharad Agarwal (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Issue Comment Edited: (HADOOP-3570) Including user specified jar files in the client side classpath path in Hadoop 0.17 streaming In-Reply-To: <1307039378.1213638344969.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-3570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627400#action_12627400 ] sharadag edited comment on HADOOP-3570 at 9/1/08 3:03 AM: ---------------------------------------------------------------- I think this is applicable for all kinds of jobs, not limited to streaming only. One way to handle this is in GenericOptionsParser itself. Adding the parsed jars to the conf classpath. It is demonstrated in the attached patch. Not tested yet. was (Author: sharadag): I think this is applicable for all kinds of jobs, not limited to streaming only. One way to handle this is in GenericOptionsParser itself. Adding the parsed jars to the conf classpath. It is demonstrated in attached patch. It is not tested yet. Other thing which needs to be handled is that if the libjars exist on the HDFS then we would require to do copyToLocal. Thoughts? > Including user specified jar files in the client side classpath path in Hadoop 0.17 streaming > --------------------------------------------------------------------------------------------- > > Key: HADOOP-3570 > URL: https://issues.apache.org/jira/browse/HADOOP-3570 > Project: Hadoop Core > Issue Type: Bug > Components: contrib/streaming > Affects Versions: 0.17.0 > Reporter: Suhas Gogate > Assignee: Mahadev konar > Fix For: 0.19.0 > > Attachments: 3570_v1.patch > > > Hadoop 0.17 streaming allows specifying multiple user specific jar files on the command line along with the hadoop-streaming.jar. These user specific jar files are not automatically added on the client side class path when hadoop runs the streaming job > For example, in the following streaming job is not automatically included in client side path before executing the streaming job > > hadoop jar -libjars $HADOOP_HOME/hadoop-streaming.jar \ > -input \ > -output \ > -inputformat \ > -outputformat \ > -mapper /bin/cat -reducer /bin/cat \ > -additionalconfspec \ > -jobconf mapred.reduce.tasks=3\ > Workaround: > Current work around is to set these user specific jar files in > HADOOP_CLASSPATH environment variable on the client side before running above example. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.