Add sanity check for system configs in hbase-daemon wrapper
-----------------------------------------------------------
Key: HBASE-2750
URL: https://issues.apache.org/jira/browse/HBASE-2750
Project: HBase
Issue Type: New Feature
Components: scripts
Affects Versions: 0.21.0
Reporter: Todd Lipcon
Assignee: Todd Lipcon
Priority: Minor
We should add a config variable like MIN_ULIMIT_TO_START in hbase-env.sh. If
the daemon script finds ulimit < this value, it will print a warning and refuse
to start. We can make the default set to 0 so that this doesn't affect
non-production clusters, but in the tuning guide recommend that people change
it to the expected ulimit.
(I've seen it happen all the time where people configure ulimit on some nodes,
add a new node to the cluster, and forgot to re-tune it on the new one, and
then that new one borks the whole cluster when it joins)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.