Hbase Master Fails to Start After Cluster Restart with "FATAL org.apache.hadoop.hbase.master.HMaster: Failed to become active master java.lang.OutOfMemoryError: Direct buffer memory" (Doc ID 2168517.1)

Last updated on AUGUST 08, 2016

Applies to:

Big Data Appliance Integrated Software - Version 4.5.0 and later
Linux x86-64

Symptoms

After a cluster restart the Hbase Master fails to start.  The HBase Master log shows errors as below:
 

2016-07-29 17:49:26,210 INFO org.apache.hadoop.hbase.util.FSHDFSUtils: Recovered lease, attempt=0 on file=hdfs://<cluster-name>-ns/hbase/MasterProcWALs/state-00000000000000008251.log after 0ms
2016-07-29 17:49:26,211 INFO org.apache.hadoop.hbase.util.FSHDFSUtils: Recover lease on dfs file hdfs://<cluster-name>-ns/hbase/MasterProcWALs/state-00000000000000008252.log
2016-07-29 17:49:26,211 INFO org.apache.hadoop.hbase.util.FSHDFSUtils: Recovered lease, attempt=0 on file=hdfs://<cluster-name>-ns/hbase/MasterProcWALs/state-00000000000000008252.log after 0ms
2016-07-29 17:49:27,095 FATAL org.apache.hadoop.hbase.master.HMaster: Failed to become active master
java.lang.OutOfMemoryError: Direct buffer memory
at java.nio.Bits.reserveMemory(Bits.java:693)

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms