Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12374

Document the missing -ns option of haadmin.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0-alpha4
    • Fix Version/s: None
    • Component/s: documentation, federation
    • Labels:
      None

      Description

      Document the missing -ns option of haadmin in HDFSCommands.md, HDFSHighAvailabilityWithQJM.md and HDFSHighAvailabilityWithNFS.md.
      Before patch:

      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>
      

      After patch:

      Usage: haadmin [-ns <nameserviceId>]
          [-transitionToActive [--forceactive] <serviceId>]
          [-transitionToStandby <serviceId>]
          [-failover [--forcefence] [--forceactive] <serviceId> <serviceId>]
          [-getServiceState <serviceId>]
          [-getAllServiceState]
          [-checkHealth <serviceId>]
          [-help <command>]
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vincent he Wenxin He
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: