Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hadoop, mail # user - help in distribution of a task with hadoop

Pierre Antoine DuBoDeNa 2012-08-13, 17:59
Bertrand Dechoux 2012-08-13, 18:22
Copy link to this message
Re: help in distribution of a task with hadoop
Bejoy Ks 2012-08-13, 18:29
Hi Bertrand

-libjars option works well with the 'hadoop jar' command. Instead of
executing your runnable with the plain java 'jar' command use 'hadoop jar'
. When you use hadoop jar you can ship the dependent jars/files etc as
1) include them in the /lib folder in your jar
2) use -libjars / -files to distribute jars or files

Bejoy KS
Pierre Antoine DuBoDeNa 2012-08-13, 18:32
Pierre Antoine DuBoDeNa 2012-08-13, 18:27