[ 
https://issues.apache.org/jira/browse/HDFS-6575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043018#comment-14043018
 ] 

George Wong commented on HDFS-6575:
-----------------------------------

I changed the title for this jira.
I made some mistake in my UT, that is why I thought there might be a bug in 
quota update.

Now I have gone through the code about quota update when changing File 
replication. It looks good.
However, looks like some UTs for quota update are missing. We should add them.

> Add UT for HDFS quota updated when changing File replication
> ------------------------------------------------------------
>
>                 Key: HDFS-6575
>                 URL: https://issues.apache.org/jira/browse/HDFS-6575
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>            Reporter: George Wong
>            Assignee: George Wong
>
> When I am working on HD-6535, I think we should add UT to test HDFS quota 
> update when changing File replication.
> Here are some basic test cases
> # change replication for an existed file
> # change replication of an existed file and append data to the file
> # change replication of an snapshotted file, then append data to the file



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to