You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jonathan Hsieh (JIRA)" <ji...@apache.org> on 2014/08/13 19:32:12 UTC
[jira] [Commented] (HBASE-10202) Documentation is lacking
information about rolling-restart.sh script.
[ https://issues.apache.org/jira/browse/HBASE-10202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14095762#comment-14095762 ]
Jonathan Hsieh commented on HBASE-10202:
----------------------------------------
Good content, but here are some points to emphasize and a few nits to fix:
It should say that the rolling-restart.sh script is a good template for doing rolling restarts and to make it clear that it is not explicitly tested. Depending on your setup YMMV -- this script depends on loginless ssh and assumes a tarball deployment. It also requires some env variables setup by the user executing the script.
{code}
+
+ <para>HBase ships with a script, <filename>bin/rolling-restart.sh</filename>, that allows
+ you to perform rolling restarts on the entire cluster, the master only, or the
+ RegionServers only.</para>
+ <example>
+
{code}
The new version has at least one inadvertent merge problems.
{code}
+ <section>
+<<<<<<< HEAD
+ <title>Rolling Restart - Legacy</title>
+ <note>
+
{code}
{code}
--rest options (See usage for <filename>graceful_stop.sh</filename> script). </para>
+=======
+ <title>Logic for Crafting Your Own Rolling Restart Script</title>
+ <para>Use the following guidelines if you want to create your own rolling restart script.</para>
+ <orderedlist>
+
{code}
{code}
+ </screen>
+ <para>Perform repairs if required. See <xref linkend="hbck" /> for details.</para>
+>>>>>>> More tweaks
+ </listitem>
+ <listitem><para>Restart the master first. You may need to modify these commands if your
+
{code}
> Documentation is lacking information about rolling-restart.sh script.
> ---------------------------------------------------------------------
>
> Key: HBASE-10202
> URL: https://issues.apache.org/jira/browse/HBASE-10202
> Project: HBase
> Issue Type: Improvement
> Components: documentation
> Affects Versions: 0.98.0, 0.94.14, 0.99.0, 0.96.1.1
> Reporter: Jean-Marc Spaggiari
> Assignee: Misty Stanley-Jones
> Attachments: HBASE-10202-1.patch, HBASE-10202-2.patch, HBASE-10202.patch
>
>
> Current documentation is talking about graceful_stop.sh and how to do a rolling restart but is not talking about the rolling-restart.sh script. We need to document that.
--
This message was sent by Atlassian JIRA
(v6.2#6252)