hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Shaw" <...@joeshaw.org>
Subject Re: Adding $CLASSPATH to Map/Reduce tasks
Date Fri, 26 Sep 2008 15:27:52 GMT
Hi,

On Fri, Sep 26, 2008 at 10:50 AM, Samuel Guo <guosijie@gmail.com> wrote:
> maybe you can use
> bin/hadoop jar -libjars ${your-depends-jars} your.mapred.jar args
>
> see details:
> http://hadoop.apache.org/core/docs/r0.18.1/api/org/apache/hadoop/mapred/JobShell.html

Indeed, I was having the same issue trying to get a Lucene jar file
into a running task.  Despite what the docs say, it works with the
"jar" option to the hadoop command.  (The docs I read said it only
worked with "job" and a couple other commands; unfortunately I don't
have a link to that page at the moment.)

Joe

Mime
View raw message