You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Umesh Agashe (JIRA)" <ji...@apache.org> on 2018/03/22 20:27:00 UTC
[jira] [Commented] (HBASE-15924) Enhance hbase services autorestart
capability to hbase-daemon.sh
[ https://issues.apache.org/jira/browse/HBASE-15924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16410243#comment-16410243 ]
Umesh Agashe commented on HBASE-15924:
--------------------------------------
I am trying to document default ports for region server and master. Please see HBASE-20130. I found following snippet in bin/regionserver.sh:
{code:java}
if [ "$regionservers" = "localhost" ]; then
HBASE_REGIONSERVER_ARGS="\
-Dhbase.regionserver.port=16201 \
-Dhbase.regionserver.info.port=16301"{code}
Any info on why ports 16201 and 16301 are used when RS binds to localhost instead of default ports 16020 and 16030?
> Enhance hbase services autorestart capability to hbase-daemon.sh
> -----------------------------------------------------------------
>
> Key: HBASE-15924
> URL: https://issues.apache.org/jira/browse/HBASE-15924
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 0.98.19
> Reporter: Loknath Priyatham Teja Singamsetty
> Assignee: Loknath Priyatham Teja Singamsetty
> Priority: Major
> Fix For: 1.4.0, 2.0.0
>
> Attachments: HBASE-15924.master.0001.patch, HBASE-15924.master.0002.patch, HBASE-15924.master.0003.patch, HBASE-15924.master.0004.patch
>
>
> As part of HBASE-5939, the autorestart for hbase services has been added to deal with scenarios where hbase services (master/regionserver/master-backup) gets killed or goes down leading to unplanned outages. The changes were made to hbase-daemon.sh to support autorestart option.
> However, the autorestart implementation doesn't work in standalone mode and other than that have few gaps with the implementation as per release notes of HBASE-5939. Here is an attempt to re-design and fix the functionality considering all possible usecases with hbase service operations.
> Release Notes of HBASE-5939:
> ------------------------------------------
> When launched with autorestart, HBase processes will automatically restart if they are not properly terminated, either by a "stop" command or by a cluster stop. To ensure that it does not overload the system when the server itself is corrupted and the process cannot be restarted, the server sleeps for 5 minutes before restarting if it was already started 5 minutes ago previously. To use it, launch the process with "bin/start-hbase autorestart". This option is not fully compatible with the existing "restart" command: if you ask for a restart on a server launched with autorestart, the server will restart but the next server instance won't be automatically restarted.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)