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 Threaded View
MapReduce >> mail # user >> Deep Magic on the distributed classpath


Copy link to this message
-
Re: Deep Magic on the distributed classpath
On 07/27/2011 10:39 AM, John Armstrong wrote:
> So I think I've figured out how to fix my problem with putting files on
> the distributed classpath by digging through the code Hadoop uses to
> process -libjars.

There is another, easier approach:  if your app inherits from the Tool
class / runs via ToolRunner, then your app can inherit the -libjars
command line functionality itself.

DR
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