Hi,

I think thats a typo, I was grepping 0.20.2-737 and did not found
Lorg/apache/hadoop/security/UserGroupInformation. Should be
org/apache/hadoop/security/UserGroupInformation. Correct me please if
I wrong.

- Alex

On Fri, Dec 30, 2011 at 10:39 AM, praveenesh kumar <praveen...@gmail.com> wrote:
> Hi,
>
> I am using Hive 0.7.1 on hadoop 0.20.205
> While running hive. its giving me following error :
>
> Exception in thread "main" java.lang.NoSuchMethodError:
> org.apache.hadoop.security.UserGroupInformation.login(Lorg/apache/hadoop/conf/Configuration;)Lorg/apache/hadoop/security/UserGroupInformation;
>         at
> org.apache.hadoop.hive.shims.Hadoop20Shims.getUGIForConf(Hadoop20Shims.java:448)
>         at
> org.apache.hadoop.hive.ql.security.HadoopDefaultAuthenticator.setConf(HadoopDefaultAuthenticator.java:51)
>         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)
>         at
> org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:219)
>         at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:417)
>         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)
>
> Any Idea on how to resolve this issue ?
>
> Thanks,
> Praveenesh



-- 
Alexander Lorenz
http://mapredit.blogspot.com

P Think of the environment: please don't print this email unless you
really need to.

Reply via email to