Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 3D8829516 for ; Thu, 29 Sep 2011 17:40:08 +0000 (UTC) Received: (qmail 75901 invoked by uid 500); 29 Sep 2011 17:40:07 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 75773 invoked by uid 500); 29 Sep 2011 17:40:07 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 75613 invoked by uid 99); 29 Sep 2011 17:40:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2011 17:40:07 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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, 29 Sep 2011 17:40:06 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B944B2A04F8 for ; Thu, 29 Sep 2011 17:39:45 +0000 (UTC) Date: Thu, 29 Sep 2011 17:39:45 +0000 (UTC) From: "Abhijit Suresh Shingate (Assigned) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1403682480.8289.1317317985760.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1647909524.8191.1317316065518.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (MAPREDUCE-3122) -libjars with streaming does not create symlink in the cwd of task MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-3122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhijit Suresh Shingate reassigned MAPREDUCE-3122: -------------------------------------------------- Assignee: Abhijit Suresh Shingate > -libjars with streaming does not create symlink in the cwd of task > ------------------------------------------------------------------ > > Key: MAPREDUCE-3122 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3122 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: contrib/streaming > Affects Versions: 0.20.205.0 > Reporter: Ramya Sunil > Assignee: Abhijit Suresh Shingate > > When libjars option is used with streaming, the symlink to the jar file is not created in the working dir of the task. Any map/reduce tasks which uses this jar fails with NoClassDefFoundError > For e.g: > $ hadoop jar hadoop-streaming.jar -libjars /home/ramya/HelloWorld.jar -input input.txt -output Out -mapper "mapper.sh" -reducer NONE -file /home/ramya/mapper.sh > $ cat /home/ramya/mapper.sh > #!/bin/sh > cat &> /dev/null > java -cp HelloWorld.jar HelloWorld > $ java -cp /home/ramya/HelloWorld.jar HelloWorld > Hello World -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira