Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Hadoop >> mail # user >> Mechanism of hadoop -jar


Copy link to this message
-
Mechanism of hadoop -jar
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 :

class.getResource("myfile.txt")

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
MMSB/UCHC
+
Bertrand Dechoux 2012-08-11, 22:47
+
in.abdul 2012-08-12, 00:54
+
Harsh J 2012-08-12, 02:02
+
Jay Vyas 2012-08-12, 02:09
+
Arun C Murthy 2012-08-12, 04:27
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB