hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stanley Shi <s...@gopivotal.com>
Subject Re: Hadoop 2.2.0 Distributed Cache
Date Thu, 27 Mar 2014 03:21:34 GMT
where did you get the error? from the compiler or the runtime?

Regards,
*Stanley Shi,*



On Thu, Mar 27, 2014 at 7:34 AM, Jonathan Poon <jkpoon@ucdavis.edu> wrote:

> Hi Everyone,
>
> I'm submitting a MapReduce job using the -files option to copy a text file
> that contains properties I use for the map and reduce functions.
>
> I'm trying to obtain the local cache files in my mapper function using:
>
> Path[] paths = context.getLocalCacheFiles();
>
> However, i get an error saying getLocalCacheFiles() is undefined.  I've
> imported the hadoop-mapreduce-client-core-2.2.0.jar as part of my build
> environment in Eclipse.
>
> Any ideas on what could be incorrect?
>
> If I'm incorrectly using the distributed cache, could someone point me to
> an example using the distributed cache with Hadoop 2.2.0?
>
> Thanks for your help!
>
> Jonathan
>

Mime
View raw message