You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Wenxin He (JIRA)" <ji...@apache.org> on 2017/08/30 06:53:00 UTC

[jira] [Created] (HDFS-12374) Document the missing -ns option of haadmin.

Wenxin He created HDFS-12374:
--------------------------------

             Summary: 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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org