[
https://issues.apache.org/jira/browse/HADOOP-16753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16997939#comment-16997939
]
Akira Ajisaka commented on HADOOP-16753:
----------------------------------------
Thank you, [~risyomei].
In hdfs and hdfs.cmd, 'hdfs haadmin' directly execute DFSHAAdmin class and
HAAdmin class is not referenced from any scripts. Therefore I think we can
safely move the HDFS specific usages into DFSHAAdmin.
Ref:
https://github.com/apache/hadoop/blob/rel/release-3.2.1/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs#L152
> Refactor HAAdmin
> ----------------
>
> Key: HADOOP-16753
> URL: https://issues.apache.org/jira/browse/HADOOP-16753
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Akira Ajisaka
> Assignee: Xieming Li
> Priority: Major
> Attachments: HADOOP-16753.001.patch
>
>
> https://issues.apache.org/jira/browse/YARN-9985?focusedCommentId=16991414&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16991414
> We should move HDFS-specific haadmin options from HAAdmin to DFSHAAdmin to
> remove unnecessary if-else statements from RMAdmin command.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]