Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7F2904247 for ; Fri, 10 Jun 2011 06:07:19 +0000 (UTC) Received: (qmail 89367 invoked by uid 500); 10 Jun 2011 06:07:18 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 89322 invoked by uid 500); 10 Jun 2011 06:07:17 -0000 Mailing-List: contact mapreduce-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-user@hadoop.apache.org Delivered-To: mailing list mapreduce-user@hadoop.apache.org Received: (qmail 89314 invoked by uid 99); 10 Jun 2011 06:07:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 06:07:16 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mapred.learn@gmail.com designates 74.125.83.176 as permitted sender) Received: from [74.125.83.176] (HELO mail-pv0-f176.google.com) (74.125.83.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 06:07:08 +0000 Received: by pve37 with SMTP id 37so1503542pve.35 for ; Thu, 09 Jun 2011 23:06:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:references:in-reply-to:mime-version :content-transfer-encoding:content-type:message-id:cc:x-mailer:from :subject:date:to; bh=DmA2O+3ArAD3yAXC358zbYjT9Q1TiM0qj9wumjnz89w=; b=DQwdESOtcqawzAYmJRUpSNNKKiVw7IONXKMjNta0iuY9vAc2w7mJs0lY73xMAiSGNU lcoNS+XIg9Ylq6Fi8o5EePulhH6dZgcvF1PGZ4gmdfYw77VJ9WKiSLWW6UQL1BBqb4fQ 7GwzvLHTGXojVhVXAQ8EWqsPPmtawqspQ5GgM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; b=iJH8M4wUYAftEcsTzuyTkcp36nwoAmKbjBXIY1K+yxsMK/oTWbknGzCqTiu4wuisfu 29UIBK/R/KGX/h8E4fXoaqC5pPbCb7R2sK7mVB8WN9yn5EOZ9yMc5fnoIta8rb4Pwe4Y H/ahOFcMqSUfZ435z+jRNzi82JTo0aimor+CY= Received: by 10.68.22.105 with SMTP id c9mr785765pbf.222.1307686008026; Thu, 09 Jun 2011 23:06:48 -0700 (PDT) Received: from [192.168.1.8] (c-24-23-175-32.hsd1.ca.comcast.net [24.23.175.32]) by mx.google.com with ESMTPS id o2sm2055172pbj.33.2011.06.09.23.06.47 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Jun 2011 23:06:47 -0700 (PDT) References: In-Reply-To: Mime-Version: 1.0 (iPhone Mail 8F190) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <761BF0BA-73B8-4E90-B505-D629FCC0F24C@gmail.com> Cc: "mapreduce-user@hadoop.apache.org" , "cdh-user@cloudera.org" X-Mailer: iPhone Mail (8F190) From: Mapred Learn Subject: Re: How to send files to task trackers in a map-red job Date: Thu, 9 Jun 2011 23:06:43 -0700 To: Mapred Learn Resending, in case anybody has any inputs ::: On Jun 9, 2011, at 5:35 PM, Mapred Learn wrote: > Hi, > I have 2 files that I want to send to all tasktrackers during job executio= n. > I try something like: > hadoop jar abc.jar
-conf -cacheFile 'hdfs://:port/user/jj/dummy/abc.dat#abc' -cacheFile 'hdfs://:port/use= r/jj/dummy/abc.txt#abc1' > =20 > But looks like I don't get second file to the task trackers and all task t= rackers fail with exception - "file not found: /user/jj/dummy/abc.txt". > =20 > Could somebody please guide me to the right way how to get files to all th= e data nodes in a map-red job ? > =20 > Thanks, > JJ