Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HBASE master and region servers stop automatically

HBASE master and region servers stop automatically

New Contributor

1)Kerberos enabled

2)Ranger enabled


2018-08-23 17:19:06,408 INFO [main-SendThread(<DN>:2181)] zookeeper.Login: successfully logged in. 2018-08-23 17:19:06,409 INFO [Thread-10] zookeeper.Login: TGT refresh thread started. 2018-08-23 17:19:06,416 INFO [main-SendThread(FQDN:2181)] client.ZooKeeperSaslClient: Client will use GSSAPI as SASL mechanism. 2018-08-23 17:19:06,420 INFO [Thread-10] zookeeper.Login: TGT valid starting at: Thu Aug 23 17:19:06 IST 2018 2018-08-23 17:19:06,420 INFO [Thread-10] zookeeper.Login: TGT expires: Fri Aug 24 17:19:06 IST 2018 2018-08-23 17:19:06,420 INFO [Thread-10] zookeeper.Login: TGT refresh sleeping until: Fri Aug 24 13:29:07 IST 2018 2018-08-23 17:19:06,423 INFO [main-SendThread(FQDN:2181)] zookeeper.ClientCnxn: Opening socket connection to server FQDN/ Will attempt to SASL-authenticate using Login Context section 'Client' 2018-08-23 17:19:06,432 INFO [main-SendThread(FQDN:2181)] zookeeper.ClientCnxn: Socket connection established, initiating session, client: /, server: FQDN/ 2018-08-23 17:19:06,443 INFO [main-SendThread(FQDN:2181)] zookeeper.ClientCnxn: Session establishment complete on server FQDN/, sessionid = 0x3656691264d000c, negotiated timeout = 60000 2018-08-23 17:19:06,468 ERROR [main-SendThread(FQDN:2181)] client.ZooKeeperSaslClient: SASL authentication failed using login context 'Client'. 2018-08-23 17:19:06,576 ERROR [main] master.HMasterCommandLine: Master exiting java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster at org.apache.hadoop.hbase.master.HMaster.constructMaster( at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster( at at at org.apache.hadoop.hbase.util.ServerCommandLine.doMain( at org.apache.hadoop.hbase.master.HMaster.main( Caused by: org.apache.zookeeper.KeeperException$AuthFailedException: KeeperErrorCode = AuthFailed for /hbase-secure at org.apache.zookeeper.KeeperException.create( at org.apache.zookeeper.KeeperException.create( at org.apache.zookeeper.ZooKeeper.create( at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.createNonSequential( at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.create( at org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents( at org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents( at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.createBaseZNodes( at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>( at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>( at org.apache.hadoop.hbase.master.HMaster.<init>( at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance( at sun.reflect.DelegatingConstructorAccessorImpl.newInstance( at java.lang.reflect.Constructor.newInstance( at org.apache.hadoop.hbase.master.HMaster.constructMaster(


Re: HBASE master and region servers stop automatically

Super Collaborator

can you do a klist on the shell with the same user that starts the HBase master (and post the result here).

I am a little curios on the point that the TGT expiry timestamp is the exact time of your start. Are you using a ticket or a keytab for Kerberos? And which is the configured principal for HBase?

Don't have an account?
Coming from Hortonworks? Activate your account here