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

RBF: Add check to setQuota command

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: federation
    • Labels:
      None

      Description

      No check being done for second argument on -setQuota command.

      Execute the dfsrouteradmin -setQuota command with the below scenarios.

       ./hdfs dfsrouteradmin -setQuota /dir -nsQuota 12 -ssQuota 100

      O/P: Successfully set quota for mount point /dir

       

       ./hdfs dfsrouteradmin -setQuota /dir -nsQuota 15 -ssQuot 100

       

      if one of the argument is not correct, should not execute the -setQuota command.

        Attachments

          Activity

            People

            • Assignee:
              RANith Ranith Sardar
              Reporter:
              RANith Ranith Sardar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: