You can put your external jar in DistributedCache. and do symlink the
jar in the current working directory of the task giving the value of
mapred.create.symlink as true. More details can be found at
http://issues.apache.org/jira/browse/HADOOP-1660.
The jar can also be added to classpath using the api
DistrributedCache.addArchiveToClassPath().
Thanks
Amareshwari
Einar Vollset wrote:
Pretty please with sugar on top. ;-)
On Thu, May 29, 2008 at 3:34 PM, Brian Vargas <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
I've got a Maven2 assembly file for creating a Hadoop-runnable JAR file
using the Maven assembly plugin. I'd be happy to share it if you'd like.
Brian
Michael Bieniosek wrote:
| When you build your job jar, you can include other jars in the lib/
| directory inside the jar.
|
| -Michael
|
| On 5/29/08 10:37 AM, "Tanton Gibbs" <[EMAIL PROTECTED]> wrote:
|
|> What is the right way to use a jar file within my map reduce program.
|> I want to use the simmetrics code for double metaphone, but I'm not
|> sure how to include it so that my map/reduce code can see it.
|>
|> Any pointers?
|>
|> Tanton
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: What is this? http://pgp.ardvaark.net
iD8DBQFIPy+Q3YdPnMKx1eMRA9UyAKCZSnIhTsXuNqmdYEcERQCthRN1tQCffmTm
l8frMZev58DOV9M5K44zSAM=
=YOWA
-----END PGP SIGNATURE-----