hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mingliang Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12374) Document the missing -ns option of haadmin.
Date Fri, 01 Sep 2017 06:08:00 GMT

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

Mingliang Liu commented on HDFS-12374:
--------------------------------------

Lovely as the new format is, I think this JIRA major scope is invalid.

The reason is that, {{haadmin}} was not supposed to be HDFS specific while the subclass {{DFSHAAdmin}}
is. Option {{-ns}} is part of {{DFSHAAdmin}} instead of  {{haadmin}} command. The current
documentation for {{DFSHAAdmin}} is correct if you check the version from 2.7.

A few related JIRAs can be checked at [HDFS-8067], [HDFS-7324] and [HDFS-7808].

[~brahmareddy] and [~szetszwo] to chime in? Thanks,

> Document the missing -ns option of haadmin.
> -------------------------------------------
>
>                 Key: HDFS-12374
>                 URL: https://issues.apache.org/jira/browse/HDFS-12374
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: documentation, federation
>    Affects Versions: 3.0.0-alpha4
>            Reporter: Wenxin He
>            Assignee: Wenxin He
>            Priority: Minor
>
> Document the missing -ns option of haadmin in HDFSCommands.md, HDFSHighAvailabilityWithQJM.md
and HDFSHighAvailabilityWithNFS.md.
> Before patch:
> {noformat}
> Usage:
>         hdfs haadmin -transitionToActive <serviceId> [--forceactive]
>         hdfs haadmin -transitionToStandby <serviceId>
>         hdfs haadmin -failover [--forcefence] [--forceactive] <serviceId> <serviceId>
>         hdfs haadmin -getServiceState <serviceId>
>         hdfs haadmin -getAllServiceState
>         hdfs haadmin -checkHealth <serviceId>
>         hdfs haadmin -help <command>
> {noformat}
> After patch:
> {noformat}
> Usage: haadmin [-ns <nameserviceId>]
>     [-transitionToActive [--forceactive] <serviceId>]
>     [-transitionToStandby <serviceId>]
>     [-failover [--forcefence] [--forceactive] <serviceId> <serviceId>]
>     [-getServiceState <serviceId>]
>     [-getAllServiceState]
>     [-checkHealth <serviceId>]
>     [-help <command>]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message