-Re: Mechanism of hadoop -jar
Bertrand Dechoux 2012-08-11, 22:47
1) Source code for sure. I don't know if you could find any other technical
document about it.
2) Where is your file? If it is inside your jar, hadoop should not infer
with the 'normal way'. It is a 'classical jvm'. If you want to distribute
your files (across your nodes), you should look at DistributedCache.
On Sun, Aug 12, 2012 at 12:09 AM, Jay Vyas <[EMAIL PROTECTED]> wrote:
> Hi guys: I'm trying to find documentation on how "hadoop jar" actually
> works i.e. how it copies/runs the jar file across the cluster, in order to
> debug a jar issue.
> 1) Where can I get a good explanation of how the hadoop commands (i.e.
> -jar) are implemented ?
> 2) Specifically, Im trying to access a bundled text file from a jar :
> from inside a mapreduce job.... Is it okay to do this ? Or does a classes
> ability to aquire local resources change in the mapper/reducer JVMs ?
> Jay Vyas