Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.20.1
-
None
-
None
-
None
Description
hadoop dfsadmin -setSpaceQuota can set maximum quota of value 9223372036854775807 and minimum 0. There is no error message or quota is not applied when user tries to setSpaceQuota of size 9223372036854775807.
[user@ghost-host hadoop]$ hadoop dfsadmin -setSpaceQuota 9223372036854775807 / [user@ghost-host hadoop]$ hadoop fs -count -q / 2147483647 2147483599 none inf 24 24 2019254 hdfs://ghost-nn.scary.land.com/
We should warn user by showing error message that 9223372036854775807 is invalid value and quota will not be applied.