Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Reviewed
Description
This proposes adding a bunch of unit tests for command 'dfsadmin setSpaceQuota' and 'dfsadmin clrSpaceQuota'.
1. test to set space quote using negative number.
2. test to set and clear space quote, regular usage.
3. test to set and clear space quote by storage type.
4. test to set and clear space quote when directory doesn't exist.
5. test to set and clear space quote when path is a file.
6. test to set and clear space quote when user has no access right.
Attachments
Attachments
Issue Links
- breaks
-
HDFS-11434 Remove PathUtils#getTestPath() as it's not usable for hdfs path in windows
- Patch Available