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

hdfs erasurecode command should remove the redundant -usage option

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 3.0.0-alpha1
    • erasure-coding
    • 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

            yuanbo Yuanbo Liu
            weichiu Wei-Chiu Chuang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: