You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Brian Jeltema <br...@digitalenvoy.net> on 2014/05/30 18:27:05 UTC

distributed cache in reducer

running Hadoop 2.2, my job places files in the distributed cache.

in my mapper setup, I call context.getCacheFiles() and get back a URI[] with contents that make sense.

in my reducer setup,  I call context.getCacheFiles() and get back null.

Is this expected behavior? If so, how do I get the cached files in the reducer?

TIA

Brian