You mean like that: hadoop jar Rdg.jar my.hadoop.Rdg -libjars Rdg_lib/* tester rdg_output
Where Rdg_lib is the a folder containing all reqd classes/jars stored on HDFS. We get this error though. We do something wrong? 12/08/10 08:16:24 ERROR security.UserGroupInformation: PriviledgedActionException as:hduser cause:org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: hdfs://nameofserver:54310/user/hduser/-libjars Exception in thread "main" org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: hdfs://nameofserver:54310/user/hduser/-libjars 2012/8/13 Bejoy Ks <[email protected]> > Hi Bertrand > > -libjars option works well with the 'hadoop jar' command. Instead of > executing your runnable with the plain java 'jar' command use 'hadoop jar' > . When you use hadoop jar you can ship the dependent jars/files etc as > 1) include them in the /lib folder in your jar > 2) use -libjars / -files to distribute jars or files > > Regards > Bejoy KS >
