Return-Path: X-Original-To: apmail-hadoop-mapreduce-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ED7FC98B5 for ; Thu, 29 Sep 2011 17:08:09 +0000 (UTC) Received: (qmail 94731 invoked by uid 500); 29 Sep 2011 17:08:09 -0000 Delivered-To: apmail-hadoop-mapreduce-dev-archive@hadoop.apache.org Received: (qmail 94667 invoked by uid 500); 29 Sep 2011 17:08:09 -0000 Mailing-List: contact mapreduce-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-dev@hadoop.apache.org Delivered-To: mailing list mapreduce-dev@hadoop.apache.org Received: (qmail 94659 invoked by uid 99); 29 Sep 2011 17:08:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2011 17:08:09 +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:08: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 770272A0FD9 for ; Thu, 29 Sep 2011 17:07:45 +0000 (UTC) Date: Thu, 29 Sep 2011 17:07:45 +0000 (UTC) From: "Ramya Sunil (Created) (JIRA)" To: mapreduce-dev@hadoop.apache.org Message-ID: <1171522460.8190.1317316065489.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (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 X-Virus-Checked: Checked by ClamAV on apache.org -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 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