[
https://issues.apache.org/jira/browse/HBASE-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292381#comment-13292381
]
Andrew Purtell commented on HBASE-4391:
---------------------------------------
If we want to approximate the way Hadoop core includes and builds native bits,
the source layout could be more like:
{noformat}
hbase-server/src/main/native/
configure scripts
m4/
src/
mlockall_agent/
{noformat}
> 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
> Assignee: Todd Lipcon
> Fix For: 0.96.0
>
> Attachments: HBASE-4391-v0.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira