My Oracle Support Banner

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 JULY 05, 2021

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-<ID>.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-<ID>.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-<ID>.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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.