Add ability to start RS as root and call mlockall
-------------------------------------------------
Key: HBASE-4391
URL: https://issues.apache.org/jira/browse/HBASE-4391
Project: HBase
Issue Type: New Feature
Components: regionserver
Affects Versions: 0.94.0
Reporter: Todd Lipcon
Fix For: 0.94.0
A common issue we've seen in practice is that users oversubscribe their region
servers with too many MR tasks, etc. As soon as the machine starts swapping,
the RS grinds to a halt, loses ZK session, aborts, etc.
This can be combatted by starting the RS as root, calling mlockall(), and then
setuid down to the hbase user. We should not require this, but we should
provide it as an option.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira