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

hdfs erasurecode command should remove the redundant -usage option

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: erasure-coding
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      hdfs erasurecode has two similar options -help and -usage.

      hdfs erasurecode -usage getPolicy
      Usage: hdfs erasurecode [generic options] -getPolicy <path>
      
      hdfs erasurecode -help getPolicy
      -getPolicy <path> :
        Get erasure coding policy information about at specified path
      

      I don't think the -usage option is that useful, because -help option already covers that. No other HDFS commands has the same -usage command.

        Attachments

        1. HDFS-10172.001.patch
          2 kB
          Yuanbo Liu
        2. HDFS-10172.002.patch
          4 kB
          Yuanbo Liu

          Activity

            People

            • Assignee:
              yuanbo Yuanbo Liu
              Reporter:
              jojochuang Wei-Chiu Chuang
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: