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

Hbase Regional servers go down periodicaly

Hbase Regional servers go down periodicaly

New Contributor

log error :

[DataStreamer for file /apps/hbase/data/data/default/rece_landingfiles/3868057112d965e8eb5a81250d6d28a7/.tmp/407aa154c13343b6b2a519918206fc04 block B P-684511763-10.220.21.80-1485291405940:blk_1074588428_848536] hdfs.DFSClient: DataStreamer Exception java.lang.OutOfMemoryError: Direct buffer memory        at java.nio.Bits.reserveMemory(Bits.java:658
1 REPLY 1

Re: Hbase Regional servers go down periodicaly

Increase the amount of direct memory you configure for the JVM by setting

-XX:MaxDirectMemorySize=...

If you are not using direct memory via the HBase BlockCache or something else completely, 1-2GB should be sufficient.

Fun fact: The service you're referring to is not a "Regional Server", it is "RegionServer". It is a server that hosts "region".

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