hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "R (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-15261) Exception in thread "main" java.lang.IllegalArgumentException: Unrecognized Hadoop major version number: 3.0.0-alpha1
Date Tue, 22 Nov 2016 12:11:58 GMT

    [ https://issues.apache.org/jira/browse/HIVE-15261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15686569#comment-15686569
] 

R commented on HIVE-15261:
--------------------------

I tried to run schematool -dbType mysql -initSchema and got the below error:

Exception in thread "main" java.lang.IllegalArgumentException: Unrecognized Hadoop major version
number: 3.0.0-alpha1
	at org.apache.hadoop.hive.shims.ShimLoader.getMajorVersion(ShimLoader.java:165)
	at org.apache.hadoop.hive.shims.ShimLoader.loadShims(ShimLoader.java:132)
	at org.apache.hadoop.hive.shims.ShimLoader.getHadoopShims(ShimLoader.java:93)
	at org.apache.hive.beeline.HiveSchemaTool.<init>(HiveSchemaTool.java:81)
	at org.apache.hive.beeline.HiveSchemaTool.<init>(HiveSchemaTool.java:68)
	at org.apache.hive.beeline.HiveSchemaTool.main(HiveSchemaTool.java:480)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.hadoop.util.RunJar.run(RunJar.java:239)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:153)


> Exception in thread "main" java.lang.IllegalArgumentException: Unrecognized Hadoop major
version number: 3.0.0-alpha1
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-15261
>                 URL: https://issues.apache.org/jira/browse/HIVE-15261
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 2.0.1
>            Reporter: R
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message