Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> Hive/HBase integration issue.

Copy link to this message
Hive/HBase integration issue.
Currently I am facing an issue with Hive/HBase integration.
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.util.Shell.getGROUPS_COMMAND()[Ljava/lang/String;


Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.util.Shell.getGROUPS_COMMAND()[Ljava/lang/String;

    at org.apache.hadoop.security.UnixUserGroupInformation.getUnixGroups(UnixUserGroupInformation.java:320)

    at org.apache.hadoop.security.UnixUserGroupInformation.login(UnixUserGroupInformation.java:243)

    at org.apache.hadoop.security.UnixUserGroupInformation.login(UnixUserGroupInformation.java:275)

    at org.apache.hadoop.hive.ql.Driver.<init>(Driver.java:273)

    at org.apache.hadoop.hive.ql.processors.CommandProcessorFactory.get(CommandProcessorFactory.java:49)

    at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:131)

    at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:197)

    at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:302)

    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)

I believe, It is because  of jdk6 backward compatibility. I tried to set -Dsun.lang.ClassLoader.allowArraySyntax=true. But unfortunately didn't work.

Any help will be greatly appreciated.

Thanks and Regards,

Vivek Mishra
Impetus is a proud sponsor for ASCI Tour 2010 (Agile Software Community of India) on Oct 30 in Noida, India.

Meet Impetus at the Cloud Computing Expo from Nov 1-4 in Santa Clara. Our Sr. Director of Engineering, Vineet Tyagi will be speaking about 'Using Hadoop for Deriving Intelligence from Large Data'.

Click http://www.impetus.com/ to know more. Follow us on www.twitter.com/impetuscalling

NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.