HBase Region Server Fails with java.lang.OutOfMemoryError

(Doc ID 1596108.1)

Last updated on OCTOBER 11, 2016

Applies to:

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

Symptoms

HBase Region Server fails with java.lang.OutOfMemoryError(OOM) errors on Oracle Big Data Appliance(BDA).

Caused by: java.lang.OutOfMemoryError: Direct buffer memory
  at java.nio.Bits.reserveMemory(Bits.java:632)
  at java.nio.DirectByteBuffer.(DirectByteBuffer.java:97)
  at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:288)
  at org.apache.hadoop.hdfs.util.DirectBufferPool.getBuffer(DirectBufferPool.java:70)
  at org.apache.hadoop.hdfs.BlockReaderLocal.(BlockReaderLocal.java:152)
  at org.apache.hadoop.hdfs.BlockReaderFactory.newShortCircuitBlockReader(BlockReaderFactory.java:197)
  at org.apache.hadoop.hdfs.BlockReaderFactory.newBlockReader(BlockReaderFactory.java:104)
  at org.apache.hadoop.hdfs.DFSInputStream.getBlockReader(DFSInputStream.java:1037)
  at org.apache.hadoop.hdfs.DFSInputStream.blockSeekTo(DFSInputStream.java:538)
  at org.apache.hadoop.hdfs.DFSInputStream.readWithStrategy(DFSInputStream.java:750)
  at org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:794)
  at java.io.DataInputStream.readFully(DataInputStream.java:178)
  at org.apache.hadoop.hbase.io.hfile.FixedFileTrailer.readFromStream(FixedFileTrailer.java:312)
  at org.apache.hadoop.hbase.io.hfile.HFile.pickReaderVersion(HFile.java:543)
  at org.apache.hadoop.hbase.io.hfile.HFile.createReaderWithEncoding(HFile.java:589)
  at org.apache.hadoop.hbase.regionserver.StoreFile$Reader.(StoreFile.java:1302)
  at org.apache.hadoop.hbase.regionserver.StoreFile.open(StoreFile.java:549)
  at org.apache.hadoop.hbase.regionserver.StoreFile.createReader(StoreFile.java:640)
  at org.apache.hadoop.hbase.regionserver.Store.validateStoreFile(Store.java:1596)
  at org.apache.hadoop.hbase.regionserver.Store.commitFile(Store.java:866)
  at org.apache.hadoop.hbase.regionserver.Store.access$400(Store.java:111)
  at org.apache.hadoop.hbase.regionserver.Store$StoreFlusherImpl.commit(Store.java:2237)
  at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:1586)

 

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