Jump to content
We've recently updated our Privacy Statement, available here ×

Error while installing HIVE


shankarpanda003

Recommended Posts

Successfully done the installation of hadoop but while compiling hive getting this error repeatedly.

Logging initialized using configuration in jar:file:/install/hive-0.8.0-bin/lib/hive-common-0.8.0.jar!/hive-log4j.properties
Hive history file=/tmp/root/hive_job_log_root_201301092207_549512300.txt
Exception in thread "main" java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: java.lang.RuntimeException: Could not load shims in class null
        at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:277)
        at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:603)
        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:554)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:192)
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: java.lang.RuntimeException: Could not load shims in class null
        at org.apache.hadoop.hive.ql.metadata.HiveUtils.getAuthenticator(HiveUtils.java:225)
        at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:270)
        ... 7 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Could not load shims in class null
        at org.apache.hadoop.hive.ql.security.HadoopDefaultAuthenticator.setConf(HadoopDefaultAuthenticator.java:53)
        at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:70)
        at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:125)
        at org.apache.hadoop.hive.ql.metadata.HiveUtils.getAuthenticator(HiveUtils.java:222)
        ... 8 more
Caused by: java.lang.RuntimeException: Could not load shims in class null
        at org.apache.hadoop.hive.shims.ShimLoader.createShim(ShimLoader.java:102)
        at org.apache.hadoop.hive.shims.ShimLoader.loadShims(ShimLoader.java:94)
        at org.apache.hadoop.hive.shims.ShimLoader.getHadoopShims(ShimLoader.java:65)
        at org.apache.hadoop.hive.ql.security.HadoopDefaultAuthenticator.setConf(HadoopDefaultAuthenticator.java:51)
        ... 11 more
Caused by: java.lang.NullPointerException
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at org.apache.hadoop.hive.shims.ShimLoader.createShim(ShimLoader.java:99)
        ... 14 more

 Can anyone suggest me on this.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...