Hi, I am running some basic setup and test to know about hadoop. When I try to start nodes I get this error. I am already using java 1.6. Can someone please help?
# echo $JAVA_HOME /root/jdk1.6.0_21/ # java -version java version "1.6.0_21" Java(TM) SE Runtime Environment (build 1.6.0_21-b06) Java HotSpot(TM) Server VM (build 17.0-b16, mixed mode) [r...@qysprfefitbap06 hadoop-0.20.2]# ./bin/start-all.sh starting namenode, logging to /root/hadoop/hadoop-0.20.2/bin/../logs/hadoop-root-namenode-qysprfefitbap06.data.ieptc.intuit.net.out localhost: localhost: ******************************************************************************** localhost: This is a private computer system containing information that is proprietary localhost: and confidential to the owner of the system. only individuals or entities localhost: authorized by the owner of the system are allowed to access or use the system. localhost: Any unauthorized access or use of the system or information is strictly localhost: prohibited. localhost: localhost: All violators will be prosecuted to the fullest extent permitted by law. localhost: ******************************************************************************** localhost: localhost: starting datanode, logging to /root/hadoop/hadoop-0.20.2/bin/../logs/hadoop-root-datanode-qysprfefitbap06.data.ieptc.intuit.net.out localhost: Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file localhost: at java.lang.ClassLoader.defineClass1(Native Method) localhost: at java.lang.ClassLoader.defineClass(ClassLoader.java:620) localhost: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) localhost: at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) localhost: at java.net.URLClassLoader.access$100(URLClassLoader.java:56) localhost: at java.net.URLClassLoader$1.run(URLClassLoader.java:195) localhost: at java.security.AccessController.doPrivileged(Native Method) localhost: at java.net.URLClassLoader.findClass(URLClassLoader.java:188) localhost: at java.lang.ClassLoader.loadClass(ClassLoader.java:306)