You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Chao Sun (JIRA)" <ji...@apache.org> on 2018/03/23 22:56:00 UTC

[jira] [Commented] (HDFS-13286) Add haadmin commands to transition between standby and observer

    [ https://issues.apache.org/jira/browse/HDFS-13286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16412217#comment-16412217 ] 

Chao Sun commented on HDFS-13286:
---------------------------------

Just started to look into this. Originally I was thinking to add this to {{haadmin}} command, similar to:
{code}
haadmin -transitionToStandby
{code}
However, this requires changing the {{HAServiceProtocol}}, which is shared with other Hadoop components such as Yarn. Therefore, it may not be a good idea to do it there.

Another option is to add this command to {{dfsadmin}} and HDFS {{ClientProtocol}}. [~shv]: do you think this is OK?

> Add haadmin commands to transition between standby and observer
> ---------------------------------------------------------------
>
>                 Key: HDFS-13286
>                 URL: https://issues.apache.org/jira/browse/HDFS-13286
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Chao Sun
>            Assignee: Chao Sun
>            Priority: Major
>
> As discussed in HDFS-12975, we should allow explicit transition between standby and observer through haadmin command, such as:
> {code}
> haadmin -transitionToObserver
> {code}
> Initially we should support transition from observer to standby, and standby to observer.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org