Hi,
In the below stack trace i found that shims not able to get the version number or it is giving wrong numbers so it is not able get the class name and class name coming as null. "Could not load shims in class null" Can u post what version of distributions u r using (Hadoop and hive) and any modifications u have done for hadoop distribution... Hope it helps, Chinna Rao Lalam. ________________________________ From: ram prasad [rammca...@yahoo.co.in] Sent: Tuesday, November 29, 2011 4:40 PM To: Chinna Rao Lalam Subject: Hive startup issue Hi Chinna, Can u pls take a look on the below error message and let me know the probable cause of the issue Logging initialized using configuration in jar:file:/home/hduser/hive/build/dist/lib/hive-common-0.9.0-SNAPSHOT.jar!/hive-log4j.properties Hive history file=/tmp/hduser/hive_job_log_hduser_201111291400_933758390.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:262) 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:156) 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:255) ... 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:62) at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117) 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 Regards, Ram Prasad