[
https://issues.apache.org/jira/browse/HDFS-7659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14291321#comment-14291321
]
Yi Liu commented on HDFS-7659:
------------------------------
Thanks [~shv] for the review and commit.
{quote}
Can I ask you to add three lines to TestFileTruncate with this patch, even
though it is not ditectly related to your change.
{quote}
Sure. But sorry I didn't get chance to look at the JIRA after you +1, so have
not updated the patch before you commit. I see you fix it in HDFS-7676, that's
great. Thanks.
> 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)