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 218B14F27 for ; Wed, 11 May 2011 22:18:27 +0000 (UTC) Received: (qmail 26715 invoked by uid 500); 11 May 2011 22:18:27 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 26639 invoked by uid 500); 11 May 2011 22:18:27 -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 26631 invoked by uid 99); 11 May 2011 22:18:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 May 2011 22:18:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Wed, 11 May 2011 22:18:26 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4FA28823AF for ; Wed, 11 May 2011 22:17:47 +0000 (UTC) Date: Wed, 11 May 2011 22:17:47 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1261623500.5073.1305152267320.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <187929429.4990.1305151427434.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-2485) reinitialize CLASSPATH variable when executing Mapper/Reducer code 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-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032122#comment-13032122 ] Allen Wittenauer commented on MAPREDUCE-2485: --------------------------------------------- What happens if CLASSPATH is pushed into mapred.child.env? > reinitialize CLASSPATH variable when executing Mapper/Reducer code > ------------------------------------------------------------------ > > Key: MAPREDUCE-2485 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2485 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: pipes > Affects Versions: 0.20.2 > Environment: Ubuntu 10.04 LTS > Reporter: Tom Melendez > > We're using pipes, and using libhdfs inside our mapper and reducer code. We've determined that we need to execute a putenv call in order for libhdfs to actually have access to the CLASSPATH. Ideally, it should just use the CLASSPATH we set when the job was executed. > For some more context, see these threads: > https://groups.google.com/a/cloudera.org/group/cdh-user/browse_thread/thread/ae9808d80fb132fb?tvc=2 > http://comments.gmane.org/gmane.comp.jakarta.lucene.hadoop.user/25830 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira