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

Hudson commented on HDFS-14977:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #18026 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/18026/])
HDFS-14977. Quota Usage and Content summary are not same in Truncate (inigoiri: 
rev 3afd4cbe89eb79c12465077a2f55949a800f32ae)
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/FileWithSnapshotFeature.java


> Quota Usage and Content summary are not same in Truncate with Snapshot 
> -----------------------------------------------------------------------
>
>                 Key: HDFS-14977
>                 URL: https://issues.apache.org/jira/browse/HDFS-14977
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: hemanthboyina
>            Assignee: hemanthboyina
>            Priority: Major
>             Fix For: 3.3.0
>
>         Attachments: HDFS-14977.001.patch, HDFS-14977.002.patch, 
> HDFS-14977.003.patch
>
>
> steps : hdfs dfs -mkdir /dir
>            hdfs dfs -put file /dir          (file size = 10bytes)
>            hdfs dfsadmin -allowSnapshot /dir
>            hdfs dfs -createSnapshot /dir s1 
> space consumed with Quotausage and Content Summary is 30bytes
>            hdfs dfs -truncate -w 5 /dir/file
> space consumed with Quotausage , Content Summary is 45 bytes
>            hdfs dfs -deleteSnapshot /dir s1
> space consumed with Quotausage is 45bytes and Content Summary is 15bytes 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to