I think I saw this error a few days back. I think this is due to
HADOOP_CLASSPATH (have you placed any other jars in classpath? hive-0.8?).
Check and compare the classpath with the other installation that you have.

Thanks,
Aniket


On Fri, Dec 30, 2011 at 2:01 AM, alo alt <wget.n...@googlemail.com> wrote:

> Try to disable security.
>
> - Alex
>
> sent from my mobile device
>
> On Fri, Dec 30, 2011 at 10:54 AM, praveenesh kumar <praveen...@gmail.com>
> wrote:
> > How to resolve this thing ?
> >
> > Thanks,
> > Praveenesh
> >
> >
> > On Fri, Dec 30, 2011 at 3:21 PM, alo alt <wget.n...@googlemail.com>
> wrote:
> >>
> >> 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.
> >
> >
>



-- 
"...:::Aniket:::... Quetzalco@tl"

Reply via email to