hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravi Kumar Jain 03 <>
Subject RE: Urgent : Issue with hive installation on Redhat linux 64bit
Date Thu, 09 Jul 2015 07:54:41 GMT
Hello Payal,

While executing following command for Debug mode, I am still getting the same error(“java.lang.UnsupportedClassVersionError”)

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.

Ravi Jain

From: Payal Radheshamji Agrawal []
Sent: Thursday, July 09, 2015 12:37 PM
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.


From: Ravi Kumar Jain 03 []
Sent: Thursday, July 09, 2015 11:29 AM
Subject: RE: Urgent : Issue with hive installation on Redhat linux 64bit


We are only using JDK1.7 with hive 1.2.0. As per the below link, hive 1.2 is supported by


Following is output while executing hive in debug mode and nothing is coming on the prompt
further :

Ravi Jain
Infosys Limited

From: Owen O'Malley []
Sent: Thursday, July 09, 2015 10:47 AM
Subject: Re: Urgent : Issue with hive installation on Redhat linux 64bit

Based on the answer here:

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 <<>>
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(
        at java.lang.ClassLoader.defineClass(
        at Method)
        at java.lang.ClassLoader.loadClass(
        at sun.misc.Launcher$AppClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(
        at org.apache.hadoop.util.RunJar.main(

Environment Details :
Java : Jdk1.7.0_11
Hadoop : 2.6
Hive : 1.2.0

Kindly provide us the pointers to resolve the issue asap.

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***

View raw message