Repository: accumulo Updated Branches: refs/heads/1.7 9bac8dd7d -> 5e2a06d00
ACCUMULO-3796 added instructions Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/c4eff0c2 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/c4eff0c2 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/c4eff0c2 Branch: refs/heads/1.7 Commit: c4eff0c2eb1320e411ac3e41b6f2db89c2d3ba33 Parents: 83816af Author: Eric C. Newton <[email protected]> Authored: Mon May 11 14:36:44 2015 -0400 Committer: Eric C. Newton <[email protected]> Committed: Mon May 11 14:39:32 2015 -0400 ---------------------------------------------------------------------- docs/src/main/resources/administration.html | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/c4eff0c2/docs/src/main/resources/administration.html ---------------------------------------------------------------------- diff --git a/docs/src/main/resources/administration.html b/docs/src/main/resources/administration.html index 5898037..aab1470 100644 --- a/docs/src/main/resources/administration.html +++ b/docs/src/main/resources/administration.html @@ -58,7 +58,7 @@ forcibly shut down after 5 seconds. <p>Update your <code>$ACCUMULO_HOME/conf/slaves</code> (or <code>$ACCUMULO_CONF_DIR/slaves</code>) file to account for the addition; at a minimum this needs to be on the host(s) being added, but in practice it's good to ensure consistent configuration across all nodes.</p> <pre> -$ACCUMULO_HOME/bin/accumulo admin start >host(s)> {<host> ...} +$ACCUMULO_HOME/bin/accumulo admin start <host(s)> {<host> ...} </pre> <p>Alternatively, you can ssh to each of the hosts you want to add and run <code>$ACCUMULO_HOME/bin/start-here.sh</code>.</p> @@ -70,7 +70,7 @@ $ACCUMULO_HOME/bin/accumulo admin start >host(s)> {<host> ...} <p>If you need to take a node out of operation, you can trigger a graceful shutdown of a tablet server. Accumulo will automatically rebalance the tablets across the available tablet servers.</p> <pre> -$ACCUMULO_HOME/bin/accumulo admin stop >host(s)> {<host> ...} +$ACCUMULO_HOME/bin/accumulo admin stop <host(s)> {<host> ...} </pre> <p>Alternatively, you can ssh to each of the hosts you want to remove and run <code>$ACCUMULO_HOME/bin/stop-here.sh</code>.</p> @@ -135,6 +135,18 @@ that swappiness be set to zero. # echo "vm.swappiness = 0" >> /etc/sysctl.conf </pre> +<h3>Zone reclaim mode</h3> + +<p>Turn off zone reclaim mode. See this great article for all the +<a href="http://engineering.linkedin.com/performance/optimizing-linux-memory-management-low-latency-high-throughput-databases"> +details on why. +</a> + +<pre> + # sysctl -w vm.zone_reclaim_mode=0 + # echo "vm.zone_reclaim_mode = 0" >> /etc/sysctl.conf +</pre> + <h3>Hadoop timeouts</h3> <p>In order to detect failed datanodes, use shorter timeouts. Add the following to your
