Member since
03-13-2017
1
Post
0
Kudos Received
0
Solutions
03-13-2017
07:24 AM
I have created 'WordCount.JAR' file and executed the WordCount Program in java using jar file but i am getting exception . hadoop@ubuntu:~/workspace$ hadoop jar WordCount.JAR WordCount siva/file1.txt
Warning: $HADOOP_HOME is deprecated.
Exception in thread "main" java.lang.ClassNotFoundException: WordCount
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.net.URLClassLoader$1.run(URLClassLoader.java:201)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:200)
at java.lang.ClassLoader.loadClass(ClassLoader.java:325)
at java.lang.ClassLoader.loadClass(ClassLoader.java:270)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:274)
at org.apache.hadoop.util.RunJar.main(RunJar.java:149)
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Security