我試圖運行Hive metastore
。Hive Metastore Sql server:thrift.transport.TTransportException:沒有指定keytab
但是它在下面扔錯誤。
org.apache.thrift.transport.TTransportException:沒有密鑰表指定** 在org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S $服務器(HadoopThriftAuthBridge20S.java:337) 在org.apache。 hadoop.hive.thrift.HadoopThriftAuthBridge20S.createServer(HadoopThriftAuthBridge20S.java:104) 在org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S.createServer(HadoopThriftAuthBridge20S.java:74) 在org.apache.hadoop.hive.metastore。 HiveMetaStore.startMetaStore(HiveMetaStore.java:5771) at org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:5701) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Met HOD) 在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 在java.lang.reflect.Method.invoke(Method.java: 606) at org.apache.hadoop.util.RunJar.main(RunJar.java:212)線程「main」中的異常 org.apache.thrift.transport.TTransportException:沒有在org.apache.hadoop中指定 的keytab。 hive.thrift.HadoopThriftAuthBridge20S $服務器。(HadoopThriftAuthBridge20S.java:337) 在org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S.createServer(HadoopThriftAuthBridge20S.java:104) 在org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S .createServer(HadoopThriftAuthBridge20S.java:74) at org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:5771) at org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:5701) at sun.reflect.NativeMethodAccessorImpl .invoke0(本機方法) 在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 在java.lang.reflect.Method.invoke( Method.java:606) 在org.apache.hadoop.util.RunJar.main(RunJar.java:212)
按照此錯誤日誌禁用metastore安全似乎安全性在Hadoop集羣啓用。如果是,請提供配置單元配置中的keytab文件 – 2015-09-21 06:05:03