stack created HBASE-15154:
-----------------------------
Summary: Master puts up a blockcache instance
Key: HBASE-15154
URL: https://issues.apache.org/jira/browse/HBASE-15154
Project: HBase
Issue Type: Bug
Reporter: stack
Priority: Critical
Master is putting up a blockcache instance. It shouldn't. This issue comes of
the unification of Master and RegionServer where Master is a subclass of
RegionServer. Our [~jmspaggi] found out the hard way today when he tried to
bring up a cluster with a large offheap cache only the master member had been
given less memory.
Marking critical rather than blocker because there is a means of configuring
your way out of this little entanglement; set hbase.bucketcache.size to zero in
the master config only.
If you want to set direct memory for regionservers only and not on the master,
you should do the following:
Set HBASE_OFFHEAPSIZE=0G
... and then turn it on for RegionServers only:
HBASE_REGIONSERVER_OPTS="HBASE_REGIONSERVER_OPTS -XX:MaxDirectMemorySize=XXXG"
where XXX is size of the direct memory you want to allocate.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)