Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

HBase Thrift Server with Kerberos

$
0
0

I am trying to use the HUe (V3.8.1) HBase browser. This seems to need to talk to the HBASe thrift server. Ambari 1.7 does not seem to start this by default and I have to do this

http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.1.3/bk_installing_manually_book/content/ch06s05.html

which basically says /usr/bin/hbase thrift start

Now I have a kerberized cluster and the error I get from that is “Running in secure mode, but config doesn’t have a keytab”
Any idea what I am missing?

as user hbase
$ kinit -k -t /etc/security/keytabs/hbase.service.keytab hbase/my_machine_fqdn@MYREGION
$ /usr/bin/hbase thrift start
2015-08-05 13:20:37,134 INFO [main] util.VersionInfo: HBase 0.98.4.2.2.0.0-2041-hadoop2
2015-08-05 13:20:37,135 INFO [main] util.VersionInfo: Subversion git://ip-10-0-0-5.ec2.internal/grid/0/jenkins/workspace/HDP-champlain-centos6/bigtop/build/hbase/rpm/BUILD/hbase-0.98.4.2.2.0.0 -r 18e3e58ae6ca5ef5e9c60e3129a1089a8656f91d
2015-08-05 13:20:37,135 INFO [main] util.VersionInfo: Compiled by jenkins on Wed Nov 19 15:10:28 EST 2014
2015-08-05 13:20:37,490 INFO [main] thrift.ThriftServerRunner: Using default thrift server type
2015-08-05 13:20:37,490 INFO [main] thrift.ThriftServerRunner: Using thrift server type threadpool
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/hdp/2.2.0.0-2041/hadoop/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/2.2.0.0-2041/zookeeper/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
Exception in thread “main” java.io.IOException: Running in secure mode, but config doesn’t have a keytab
at org.apache.hadoop.security.SecurityUtil.login(SecurityUtil.java:236)
at org.apache.hadoop.hbase.security.User$SecureHadoopUser.login(User.java:360)
at org.apache.hadoop.hbase.security.User.login(User.java:227)
at org.apache.hadoop.hbase.security.UserProvider.login(UserProvider.java:113)
at org.apache.hadoop.hbase.thrift.ThriftServerRunner.<init>(ThriftServerRunner.java:273)
at org.apache.hadoop.hbase.thrift.ThriftServer.doMain(ThriftServer.java:92)
at org.apache.hadoop.hbase.thrift.ThriftServer.main(ThriftServer.java:231)

(Running HDP 2.2.0 on RHEL 6, but moving to HDP 2.3 soon)


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>