[
https://issues.apache.org/jira/browse/HDFS-11011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15586641#comment-15586641
]
Xiaobing Zhou edited comment on HDFS-11011 at 10/18/16 9:02 PM:
----------------------------------------------------------------
v003 patch is posted, thanks [~liuml07]. Due to differences of various
commands, it's hard to use a unanimous for-loop.
1. refactored code for reusability
2. added Javadoc
3. fixed check style issues.
was (Author: xiaobingo):
v003 patch is posted, thanks [~liuml07]
1. refactored code
2. added Javadoc
3. fixed check style issues.
> Add unit tests for HDFS command 'dfsadmin -set/clrSpaceQuota'
> -------------------------------------------------------------
>
> Key: HDFS-11011
> URL: https://issues.apache.org/jira/browse/HDFS-11011
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Reporter: Xiaobing Zhou
> Assignee: Xiaobing Zhou
> Labels: fs, shell, test
> Attachments: HDFS-11011.000.patch, HDFS-11011.001.patch,
> HDFS-11011.002.patch, HDFS-11011.003.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]