I am following Hadoop-the definitive Guide book.
confused on an example, (example 3-1)
there is a java file, (class URLCat)
I use javac to make it into URLCat.class then use jar to make it into a jar.
The book said
% hadoop URLCat hdfs://localhost/user/tom/quangle.txt
to run it... But I have tried a lot of different way..such as
% hadoop jar URLCat.jar .......
but didn't work
got error like :
Exception in thread "main" java.lang.ClassNotFoundException: hdfs://localhost/user/username/quangle/txt
why was that?
Thanks !