hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bejoy.had...@gmail.com
Subject Re: Newbie Debuggin Question
Date Thu, 21 Feb 2013 14:05:40 GMT
Hi Sai

The location you are seeing should be the mapred.local.dir .

 From my understanding the files in distributed cache would be available in that location
while you are running the job and would be cleaned up at the end of it.

Bejoy KS

Sent from remote device, Please excuse typos

-----Original Message-----
From: Sai Sai <saigraph@yahoo.in>
Date: Thu, 21 Feb 2013 20:38:06 
To: user@hadoop.apache.org<user@hadoop.apache.org>; cdh-user@cloudera.org<cdh-user@cloudera.org>
Reply-To: user@hadoop.apache.org
Subject: Re: Newbie Debuggin Question

This may be a basic beginner debug question will appreciate if anyone can pour some light:

Here is the method i have in Eclipse:


    protected void setup(Context context) throws java.io.IOException,
            InterruptedException {
        Path[] cacheFiles = DistributedCache.getLocalCacheFiles(context
        lookUp = cacheFiles[0];

I have put a breakpoint at the second line and inspected cacheFiles[0] and here is what i


I went back to my local folders looking for these folders to see if there r in here but do
not see them.

Just wondering where it is getting this file from.

Any help will be really appreciated.
View raw message