[
https://issues.apache.org/jira/browse/HDFS-13286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16449277#comment-16449277
]
Chao Sun commented on HDFS-13286:
---------------------------------
Thanks [~vagarychen] and [~ajayydv] for the review! I'll address them and
submit another patch shortly.
bq. HAAdmin#transitionToObserver L237 doesn't print error message. Seems
checkSupportObserver was added to check if target supports Observer and print
error message but its not used currently.
Yes you are right. I added this method but forgot to use it...
bq. rename checkManualStateManagementOK to something like
isManualStateChangeAllowed?
This method is not related to this JIRA so perhaps we should leave it out for
now?
> 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
> Attachments: HDFS-13286-HDFS-12943.000.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]