Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> Hive starting error


Copy link to this message
-
Re: Hive starting error
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"
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB