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

DFSAdmin#SetQuotaCommand's help msg is not correct

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: documentation
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      The help message of the command that related with SetQuota is not show correct. In message, the name quota was showed as N. The N was not appeared before.

      -setQuota <quota> <dirname>...<dirname>: Set the quota <quota> for each directory <dirName>.
      		The directory quota is a long integer that puts a hard limit
      		on the number of names in the directory tree
      		For each directory, attempt to set the quota. An error will be reported if
      		1. N is not a positive integer, or
      		2. User is not an administrator, or
      		3. The directory does not exist or is a file.
      		Note: A quota of 1 would force the directory to remain empty.
      

      The command -setSpaceQuota also has similar problem.

        Attachments

        1. HDFS-10471.001.patch
          2 kB
          Yiqun Lin
        2. HDFS-10471.002.patch
          2 kB
          Yiqun Lin
        3. HDFS-10471.003.patch
          5 kB
          Yiqun Lin

          Issue Links

            Activity

              People

              • Assignee:
                linyiqun Yiqun Lin
                Reporter:
                linyiqun Yiqun Lin
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: