Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-766

Error message not clear for set space quota out of boundary values.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: None
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Error message is not clear for upper values of out of boundary quota values .

      E.g
      Following error message is thrown if we try to apply quota value of 23498752039458723094578 which is out of upper limit of quota.

      [hadoo@l20044 ~]$ hadoop dfsadmin -setSpaceQuota  23498752039458723094578 test
      setSpaceQuota: For input string: "23498752039458723094578"
      

      Instead of above error message it should print

      setSpaceQuota: Invalid values for quota : 9223372036854775807 and 0
      
      1. HDFS-766.patch
        2 kB
        Jon Zuanich
      2. HDFS-766.patch
        1.0 kB
        Jon Zuanich

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Jon Zuanich
            Reporter:
            Ravi Phulari
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development