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

Switch to Plain View
Hadoop, mail # user - Adding external jar

Copy link to this message
Adding external jar
Aji Janis 2013-04-04, 19:21
We are running (ancient) hadoop version 0.20.203 and when running the
following command

/opt/hadoop/bin/hadoop jar my.jar full.path.to.my.class.example -libjars "
/opt/../abc.jar, /opt/../xyz.jar"

it keeps throwing the error:
Exception in thread "main" java.lang.NoClassDefFoundError:

the class its complaining about exists is the .jar I am including in
-libjars. Does anyone know (or tell me how I can find) if 0.20.203 supports
-libjars ? or any pointers to how can debug this issue would be great.
Dhruv 2013-04-04, 19:57
Dhruv 2013-04-04, 20:24