You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by "Shih-liang, Chang" <at...@icloud.com> on 2014/07/13 10:15:12 UTC

Can't Start metastore server on secure hadoop cluster

Hi,
I can’t start my metastore server on my secured hadoop cluster (version 2.4.0), I google it and try trace some code and try to add hadoop setting files into hive’s class path but still can’t solve it. Please help me with this.
My Hive version is 13.1 and Hadoop version is 2.4.0 
The exception is
[Thread[Thread-5,5,main]]: INFO thrift.TokenStoreDelegationTokenSecretManager: Starting expired delegation token remover thread, tokenRemoverScanInterval=60 min(s)
java.lang.NoSuchFieldError: SASL_PROPS
	at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S.getHadoopSaslProperties(HadoopThriftAuthBridge20S.java:126)
	at org.apache.hadoop.hive.metastore.MetaStoreUtils.getMetaStoreSaslProperties(MetaStoreUtils.java:1475)
	at org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:5157)
	at org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:5084)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
[main]: ERROR metastore.HiveMetaStore: java.lang.NoSuchFieldError: SASL_PROPS
	at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S.getHadoopSaslProperties(HadoopThriftAuthBridge20S.java:126)
	at org.apache.hadoop.hive.metastore.MetaStoreUtils.getMetaStoreSaslProperties(MetaStoreUtils.java:1475)
	at org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:5157)
	at org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:5084)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
Thanks
Atkins

Re: Can't Start metastore server on secure hadoop cluster

Posted by Thejas Nair <th...@hortonworks.com>.
Hi Atkins,
I see this with Hadoop 2.5 . I have created
https://issues.apache.org/jira/browse/HIVE-7620 to address this.
It should not be seen with Apache Hadoop 2.4, as the related change in
hadoop happened in 2.5 - See HADOOP-10451

On Sun, Jul 13, 2014 at 1:15 AM, Shih-liang, Chang
<at...@icloud.com> wrote:
> Hi,
>
> I can’t start my metastore server on my secured hadoop cluster (version
> 2.4.0), I google it and try trace some code and try to add hadoop setting
> files into hive’s class path but still can’t solve it. Please help me with
> this.
>
> My Hive version is 13.1 and Hadoop version is 2.4.0
>
> The exception is
>
> [Thread[Thread-5,5,main]]: INFO
> thrift.TokenStoreDelegationTokenSecretManager: Starting expired delegation
> token remover thread, tokenRemoverScanInterval=60 min(s)
> java.lang.NoSuchFieldError: SASL_PROPS
> 	at
> org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S.getHadoopSaslProperties(HadoopThriftAuthBridge20S.java:126)
> 	at
> org.apache.hadoop.hive.metastore.MetaStoreUtils.getMetaStoreSaslProperties(MetaStoreUtils.java:1475)
> 	at
> org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:5157)
> 	at
> org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:5084)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
> [main]: ERROR metastore.HiveMetaStore: java.lang.NoSuchFieldError:
> SASL_PROPS
> 	at
> org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S.getHadoopSaslProperties(HadoopThriftAuthBridge20S.java:126)
> 	at
> org.apache.hadoop.hive.metastore.MetaStoreUtils.getMetaStoreSaslProperties(MetaStoreUtils.java:1475)
> 	at
> org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:5157)
> 	at
> org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:5084)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
>
> Thanks
>
> Atkins

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.