Message view | « Date » · « Thread » |
---|---|
Top | « Date » · « Thread » |
From | Harsh J <qwertyman...@gmail.com> |
Subject | Re: use hadoop to create solr index |
Date | Sun, 26 Dec 2010 11:28:44 GMT |
Use the DistributedCache. Load your jars to HDFS and then use DC to add it to your job driver program. http://hadoop.apache.org/common/docs/r0.20.2/api/org/apache/hadoop/filecache/DistributedCache.html [Look at addFileToClassPath(...)] Or use the GenericOption "-libjars" from command-line while triggering the job, as documented here: http://hadoop.apache.org/common/docs/r0.20.2/commands_manual.html#Generic+Options. -- Harsh J www.harshj.com | |
Mime |
|
View raw message |