HBASE-5863 Improve the graceful_stop.sh CLI help (especially about reloads)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1329793 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2012-04-24 15:33:24 +00:00
parent 1d6b501c9b
commit 1ad0378006
1 changed files with 4 additions and 4 deletions

View File

@ -19,16 +19,16 @@
# * See the License for the specific language governing permissions and
# * limitations under the License.
# */
# Move regions off a server then stop it. Optionally restart and reload.
# Turn off the balancer before running this script.
function usage {
echo "Usage: graceful_stop.sh [--config <conf-dir>] [--restart] [--reload] [--thrift] [--rest] <hostname>"
echo "Usage: graceful_stop.sh [--config <conf-dir>] [--restart [--reload]] [--thrift] [--rest] <hostname>"
echo " thrift If we should stop/start thrift before/after the hbase stop/start"
echo " rest If we should stop/start rest before/after the hbase stop/start"
echo " restart If we should restart after graceful stop"
echo " reload Move offloaded regions back on to the stopped server"
echo " debug Move offloaded regions back on to the stopped server"
echo " reload Move offloaded regions back on to the restarted server"
echo " debug Print helpful debug information"
echo " hostname Hostname of server we are to stop"
exit 1
}