You can also run the Hive that's part of CDH3b3 (downloadable at http://archive.cloudera.com/cdh/3/hive-0.5.0+32.tar.gz), which works with the security stuff.
-- Philip On Sun, Oct 24, 2010 at 7:39 PM, 김영우 <warwit...@gmail.com> wrote: > Hi ray, > > https://issues.apache.org/jira/browse/HIVE-1264 > > You should upgrade Hive to 0.7(trunk). CDH3beta3 includes hadoop security > features. > > - Youngwoo > > 2010/10/25 Ray Duong <ray.du...@gmail.com> >> >> Hi, >> I'm getting the following error message after upgrading to CDH3b3. Does >> anyone know how to resolve this? >> Thanks >> -ray >> >> hive> show tables; >> >> Exception in thread "main" java.lang.NoClassDefFoundError: >> org/apache/hadoop/security/UnixUserGroupInformation >> >> at >> org.apache.hadoop.hive.ql.processors.CommandProcessorFactory.get(CommandProcessorFactory.java:63) >> >> at >> org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:133) >> >> at >> org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:199) >> >> at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:353) >> >> 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:186) >> >> Caused by: java.lang.ClassNotFoundException: >> org.apache.hadoop.security.UnixUserGroupInformation >> >> at java.net.URLClassLoader$1.run(URLClassLoader.java:200) >> >> at java.security.AccessController.doPrivileged(Native Method) >> >> at java.net.URLClassLoader.findClass(URLClassLoader.java:188) >> >> at java.lang.ClassLoader.loadClass(ClassLoader.java:303) >> >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) >> >> at java.lang.ClassLoader.loadClass(ClassLoader.java:248) >> >> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) >> >> ... 9 more >