[ https://issues.apache.org/jira/browse/HDFS-7659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14292210#comment-14292210 ]
Konstantin Shvachko commented on HDFS-7659: ------------------------------------------- No problem. I was just trying to find the most effective way to get it done. > We should check the new length of truncate can't be a negative value. > --------------------------------------------------------------------- > > Key: HDFS-7659 > URL: https://issues.apache.org/jira/browse/HDFS-7659 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode, namenode > Reporter: Yi Liu > Assignee: Yi Liu > Fix For: 2.7.0 > > Attachments: HDFS-7659-branch2.patch, HDFS-7659.001.patch, > HDFS-7659.002.patch, HDFS-7659.003.patch > > > It's obvious that we should check the new length of truncate can't be a > negative value. -- This message was sent by Atlassian JIRA (v6.3.4#6332)