[ 
https://issues.apache.org/jira/browse/HDFS-13907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ranith Sardar updated HDFS-13907:
---------------------------------
    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

The console message O/P, "Successfully set quota for mount point /dir", but the 
second argument "-ssQuot" is not correct

 

Expected Result:

"Successfully set quota for -nsQuota value and Unsucessfull for -ssQuota"

> RBF: Add check to setQuota command
> ----------------------------------
>
>                 Key: HDFS-13907
>                 URL: https://issues.apache.org/jira/browse/HDFS-13907
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: federation
>    Affects Versions: 3.0.0
>            Reporter: Ranith Sardar
>            Assignee: Ranith Sardar
>            Priority: Major
>             Fix For: 3.1.2
>
>
> 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
> The console message O/P, "Successfully set quota for mount point /dir", but 
> the second argument "-ssQuot" is not correct
>  
> Expected Result:
> "Successfully set quota for -nsQuota value and Unsucessfull for -ssQuota"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to