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"

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.7.0
    • datanode, namenode
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment