|
praveenesh kumar
2011-12-30, 09:39
alo alt
2011-12-30, 09:51
praveenesh kumar
2011-12-30, 09:54
praveenesh kumar
2011-12-30, 09:57
alo alt
2011-12-30, 10:01
Aniket Mokashi
2011-12-30, 10:06
praveenesh kumar
2011-12-30, 10:09
alo alt
2011-12-30, 10:13
praveenesh kumar
2011-12-30, 13:31
Aniket Mokashi
2011-12-31, 00:23
|
-
Hive starting errorpraveenesh kumar 2011-12-30, 09:39
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
-
Re: Hive starting erroralo alt 2011-12-30, 09:51
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 <[EMAIL PROTECTED]> 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.
-
Re: Hive starting errorpraveenesh kumar 2011-12-30, 09:54
How to resolve this thing ?
Thanks, Praveenesh On Fri, Dec 30, 2011 at 3:21 PM, alo alt <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> > 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. >
-
Re: Hive starting errorpraveenesh kumar 2011-12-30, 09:57
Strange thing is .. I have same hadoop 0.20.205 and hive 0.7.1 running on
some other machine. Hive was running fine there. But today I am getting this error, when working on fresh install. Thanks, Praveenesh On Fri, Dec 30, 2011 at 3:24 PM, praveenesh kumar <[EMAIL PROTECTED]>wrote: > How to resolve this thing ? > > Thanks, > Praveenesh > > > On Fri, Dec 30, 2011 at 3:21 PM, alo alt <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> >> 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. >> > >
-
Re: Hive starting erroralo alt 2011-12-30, 10:01
Try to disable security.
- Alex sent from my mobile device On Fri, Dec 30, 2011 at 10:54 AM, praveenesh kumar <[EMAIL PROTECTED]> wrote: > How to resolve this thing ? > > Thanks, > Praveenesh > > > On Fri, Dec 30, 2011 at 3:21 PM, alo alt <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> >> 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. > >
-
Re: Hive starting errorAniket Mokashi 2011-12-30, 10:06
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 <[EMAIL PROTECTED]> wrote: > Try to disable security. > > - Alex > > sent from my mobile device > > On Fri, Dec 30, 2011 at 10:54 AM, praveenesh kumar <[EMAIL PROTECTED]> > wrote: > > How to resolve this thing ? > > > > Thanks, > > Praveenesh > > > > > > On Fri, Dec 30, 2011 at 3:21 PM, alo alt <[EMAIL PROTECTED]> > 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 < > [EMAIL PROTECTED]> > >> 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"
-
Re: Hive starting errorpraveenesh kumar 2011-12-30, 10:09
I recently added hbase 0.90.5 jars in HADOOP_CLASSPATH ?
Previously I was running hbase 0.90.4, Is it the cause of trouble ? Thanks, Praveenesh On Fri, Dec 30, 2011 at 3:36 PM, Aniket Mokashi <[EMAIL PROTECTED]> wrote: > 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 <[EMAIL PROTECTED]> wrote: > >> Try to disable security. >> >> - Alex >> >> sent from my mobile device >> >> On Fri, Dec 30, 2011 at 10:54 AM, praveenesh kumar <[EMAIL PROTECTED]> >> wrote: >> > How to resolve this thing ? >> > >> > Thanks, >> > Praveenesh >> > >> > >> > On Fri, Dec 30, 2011 at 3:21 PM, alo alt <[EMAIL PROTECTED]> >> 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 < >> [EMAIL PROTECTED]> >> >> 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" >
-
Re: Hive starting erroralo alt 2011-12-30, 10:13
Could be, please add .4 jars and run again. Also please check that no
other hive installation is available. sent from my mobile device On Fri, Dec 30, 2011 at 11:09 AM, praveenesh kumar <[EMAIL PROTECTED]> wrote: > I recently added hbase 0.90.5 jars in HADOOP_CLASSPATH ? > Previously I was running hbase 0.90.4, Is it the cause of trouble ? > > Thanks, > Praveenesh > > > On Fri, Dec 30, 2011 at 3:36 PM, Aniket Mokashi <[EMAIL PROTECTED]> wrote: >> >> 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 <[EMAIL PROTECTED]> wrote: >>> >>> Try to disable security. >>> >>> - Alex >>> >>> sent from my mobile device >>> >>> On Fri, Dec 30, 2011 at 10:54 AM, praveenesh kumar <[EMAIL PROTECTED]> >>> wrote: >>> > How to resolve this thing ? >>> > >>> > Thanks, >>> > Praveenesh >>> > >>> > >>> > On Fri, Dec 30, 2011 at 3:21 PM, alo alt <[EMAIL PROTECTED]> >>> > 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 >>> >> <[EMAIL PROTECTED]> >>> >> 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" > >
-
Re: Hive starting errorpraveenesh kumar 2011-12-30, 13:31
Hi ,
Found the issue, Problem was with setting HADOOP_CLASSPATH.. I was adding all HBASE jars on hadoop_classpath whereas only hbase-core and zookeeper jar were required. Thanks a lot for answering the queries.. Praveenesh. On Fri, Dec 30, 2011 at 3:43 PM, alo alt <[EMAIL PROTECTED]> wrote: > Could be, please add .4 jars and run again. Also please check that no > other hive installation is available. > > sent from my mobile device > > On Fri, Dec 30, 2011 at 11:09 AM, praveenesh kumar <[EMAIL PROTECTED]> > wrote: > > I recently added hbase 0.90.5 jars in HADOOP_CLASSPATH ? > > Previously I was running hbase 0.90.4, Is it the cause of trouble ? > > > > Thanks, > > Praveenesh > > > > > > On Fri, Dec 30, 2011 at 3:36 PM, Aniket Mokashi <[EMAIL PROTECTED]> > wrote: > >> > >> 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 <[EMAIL PROTECTED]> > wrote: > >>> > >>> Try to disable security. > >>> > >>> - Alex > >>> > >>> sent from my mobile device > >>> > >>> On Fri, Dec 30, 2011 at 10:54 AM, praveenesh kumar < > [EMAIL PROTECTED]> > >>> wrote: > >>> > How to resolve this thing ? > >>> > > >>> > Thanks, > >>> > Praveenesh > >>> > > >>> > > >>> > On Fri, Dec 30, 2011 at 3:21 PM, alo alt <[EMAIL PROTECTED]> > >>> > 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 > >>> >> <[EMAIL PROTECTED]> > >>> >> 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 >
-
Re: Hive starting errorAniket Mokashi 2011-12-31, 00:23
Im glad it worked for you..
On Fri, Dec 30, 2011 at 5:31 AM, praveenesh kumar <[EMAIL PROTECTED]>wrote: > Hi , > Found the issue, Problem was with setting HADOOP_CLASSPATH.. I was adding > all HBASE jars on hadoop_classpath whereas only hbase-core and zookeeper > jar were required. > Thanks a lot for answering the queries.. > > Praveenesh. > > > On Fri, Dec 30, 2011 at 3:43 PM, alo alt <[EMAIL PROTECTED]> wrote: > >> Could be, please add .4 jars and run again. Also please check that no >> other hive installation is available. >> >> sent from my mobile device >> >> On Fri, Dec 30, 2011 at 11:09 AM, praveenesh kumar <[EMAIL PROTECTED]> >> wrote: >> > I recently added hbase 0.90.5 jars in HADOOP_CLASSPATH ? >> > Previously I was running hbase 0.90.4, Is it the cause of trouble ? >> > >> > Thanks, >> > Praveenesh >> > >> > >> > On Fri, Dec 30, 2011 at 3:36 PM, Aniket Mokashi <[EMAIL PROTECTED]> >> wrote: >> >> >> >> 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 <[EMAIL PROTECTED]> >> wrote: >> >>> >> >>> Try to disable security. >> >>> >> >>> - Alex >> >>> >> >>> sent from my mobile device >> >>> >> >>> On Fri, Dec 30, 2011 at 10:54 AM, praveenesh kumar < >> [EMAIL PROTECTED]> >> >>> wrote: >> >>> > How to resolve this thing ? >> >>> > >> >>> > Thanks, >> >>> > Praveenesh >> >>> > >> >>> > >> >>> > On Fri, Dec 30, 2011 at 3:21 PM, alo alt <[EMAIL PROTECTED]> >> >>> > 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 >> >>> >> <[EMAIL PROTECTED]> >> >>> >> 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) "...:::Aniket:::... Quetzalco@tl" |