Hello Payal, While executing following command for Debug mode, I am still getting the same error(“java.lang.UnsupportedClassVersionError”) only.
When I see the Menifest file for the hive-cli-1.2.0.jar file, it contains 1.7.0_79 version in it. And I am using 1.7.0_11 java version. Is might be the reason of this error but I think this error is thrown only if Jdk version is mismatch not due to the subversion mismatch. Regards, Ravi Jain From: Payal Radheshamji Agrawal [mailto:payal.agra...@datametica.com] Sent: Thursday, July 09, 2015 12:37 PM To: user@hive.apache.org Subject: RE: Urgent : Issue with hive installation on Redhat linux 64bit Hi Ravi Run “hive -hiveconf hive.root.logger=DEBUG,console” to start hive debug mode. Thanks Payal From: Ravi Kumar Jain 03 [mailto:ravi_jai...@infosys.com] Sent: Thursday, July 09, 2015 11:29 AM To: user@hive.apache.org<mailto:user@hive.apache.org> Subject: RE: Urgent : Issue with hive installation on Redhat linux 64bit Hi, We are only using JDK1.7 with hive 1.2.0. As per the below link, hive 1.2 is supported by JDK1.7. https://cwiki.apache.org/confluence/display/Hive/GettingStarted#GettingStarted-Requirements [cid:image001.png@01D0BA43.9B73B110] Following is output while executing hive in debug mode and nothing is coming on the prompt further : [cid:image002.png@01D0BA43.9B73B110] Regards, Ravi Jain Infosys Limited From: Owen O'Malley [mailto:omal...@apache.org] Sent: Thursday, July 09, 2015 10:47 AM To: user@hive.apache.org<mailto:user@hive.apache.org> Subject: Re: Urgent : Issue with hive installation on Redhat linux 64bit Based on the answer here: http://stackoverflow.com/a/1096159/2301201 You must be trying to use a jdk older than java 1.7. Run the hive script with bash debugging turned on to see which jdk it is using. .. Owen On Wed, Jul 8, 2015 at 9:56 PM, Ravi Kumar Jain 03 <ravi_jai...@infosys.com<mailto:ravi_jai...@infosys.com>> wrote: Hello All, We are facing following issue while running hive on linux operating system : Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/hadoop/hive/cli/CliDriver : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:296) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.apache.hadoop.util.RunJar.run(RunJar.java:214) at org.apache.hadoop.util.RunJar.main(RunJar.java:136) Environment Details : Java : Jdk1.7.0_11 Hadoop : 2.6 Hive : 1.2.0 Kindly provide us the pointers to resolve the issue asap. Regards, Ravi Jain Infosys Limited **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS***