I have a Java code and I have created a jar of it so that I can run it from inside Hadoop. Now I am trying to run it using this:
% hadoop URLCat hdfs://localhost/user/hadoop/values.txt
% hadoop jar URLCat.jar
But this throws error:
Exception in thread "main" java.lang.ClassNotFoundException: hdfs://localhost/user/hadoop/values/txt