[ https://issues.apache.org/jira/browse/HDFS-7659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14291135#comment-14291135 ]
Hudson commented on HDFS-7659: ------------------------------ FAILURE: Integrated in Hadoop-Mapreduce-trunk #2035 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2035/]) HDFS-7659. truncate should check negative value of the new length. Contributed by Yi Liu. (shv: rev e9fd46ddbf46954cfda4bb9c33f1789775be9d18) * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFileTruncate.java * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt > 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)