Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7584 Enable Quota Support for Storage Types
  3. HDFS-7814

Fix usage string of storageType parameter for "dfsadmin -setSpaceQuota/clrSpaceQuota"

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: datanode, namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      This was found when I'm documenting the quota by storage type feature. The current usage string to set/clear quota by storage type which put the -storageType prameter after dirnames is incorrect.
      "hdfs dfsadmin -setSpaceQuota/clrSpaceQuota <quota> <dirname>...<dirname> -storageType <storagetype>".

      The correct one should be:
      "hdfs dfsadmin -setSpaceQuota/clrSpaceQuota <quota> [-storageType <storagetype>] <dirname>...<dirname>"

      I will post the fix shortly.

        Attachments

        1. HDFS-7814.00.patch
          4 kB
          Xiaoyu Yao

          Activity

            People

            • Assignee:
              xyao Xiaoyu Yao
              Reporter:
              xyao Xiaoyu Yao
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: