Return-Path: Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: (qmail 47441 invoked from network); 20 Aug 2010 15:23:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Aug 2010 15:23:19 -0000 Received: (qmail 19360 invoked by uid 500); 20 Aug 2010 15:23:18 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 19269 invoked by uid 500); 20 Aug 2010 15:23:18 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 19261 invoked by uid 99); 20 Aug 2010 15:23:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Aug 2010 15:23:18 +0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=FREEMAIL_FROM,HK_RANDOM_ENVFROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of zjffdu@gmail.com designates 74.125.82.176 as permitted sender) Received: from [74.125.82.176] (HELO mail-wy0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Aug 2010 15:23:12 +0000 Received: by wyb35 with SMTP id 35so4603414wyb.35 for ; Fri, 20 Aug 2010 08:22:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=TvoUHMSkCFq3PDkvgjXgVd1JOrPbQkjJr98rPB9HERc=; b=UqCjFQCO7BGwrXfqxDZER58Ml5rmeKpRdYlgaDjuQIS7ndToAXz35PiFoAdfunPctO gzegAyr2zsWWmag0YDuR46DU7fqINuqjkTepGqgMIbuFEEoROn7szkc3wWFiszYCBKhV UPBhpbMK8ZSHl8HU9bApTDShTsSdJQyLpV2Sw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=thaDBTX21y4shmyA2GnsS39Qna1WfJ1hjDxLm5JrIoYWRTuchrL5LEeiz98cLBeIa+ 88Q+DyLKECD5T5jUA0TEMOJpJb3TlLNwVE3KO8zO1euW+RME+nQ6j5enJKlI393trAph +6W5SPXHFEwez1LYxn9GzVHWiBnoOaUoNteV0= MIME-Version: 1.0 Received: by 10.227.147.144 with SMTP id l16mr1424467wbv.45.1282317769536; Fri, 20 Aug 2010 08:22:49 -0700 (PDT) Received: by 10.216.170.195 with HTTP; Fri, 20 Aug 2010 08:22:49 -0700 (PDT) In-Reply-To: <346926.55544.qm@web15904.mail.cnb.yahoo.com> References: <346926.55544.qm@web15904.mail.cnb.yahoo.com> Date: Fri, 20 Aug 2010 08:22:49 -0700 Message-ID: Subject: Re: where distributed cache start working From: Jeff Zhang To: common-dev@hadoop.apache.org Content-Type: text/plain; charset=UTF-8 Hi Gang, In the TaskRunner's run() method, hadoop will download the cache files which you set on the client side to local, then the forked child jvm can use these cache files locally. On Fri, Aug 20, 2010 at 8:08 AM, Gang Luo wrote: > Hi all, > I go through the code, but couldn't find the place where distributed cache start > working. I want to know between DistriubtedCache.addCacheFile at the master node > and DistributedCache.getLocalCacheFiles at the client side, when and where are > the files get distributed. > > > Thanks, > -Gang > > > > > -- Best Regards Jeff Zhang