[
https://issues.apache.org/jira/browse/HDFS-8217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14510929#comment-14510929
]
Hudson commented on HDFS-8217:
------------------------------
SUCCESS: Integrated in Hadoop-Yarn-trunk #907 (See
[https://builds.apache.org/job/Hadoop-Yarn-trunk/907/])
HDFS-8217. During block recovery for truncate Log new Block Id in case of
copy-on-truncate is true. (Contributed by Vinayakumar B) (vinayakumarb: rev
262c1bc3398ce2ede03f9d86fc97c35ca7a8e9db)
*
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/server/datanode/DataNode.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
> During block recovery for truncate Log new Block Id in case of
> copy-on-truncate is true.
> ----------------------------------------------------------------------------------------
>
> Key: HDFS-8217
> URL: https://issues.apache.org/jira/browse/HDFS-8217
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: datanode
> Reporter: Vinayakumar B
> Assignee: Vinayakumar B
> Fix For: 2.8.0
>
> Attachments: HDFS-8217-01.patch
>
>
> During the block recovery for the truncate, include the newblock Id in case
> copy-on-truncate set to true.
> Current log message is just as below.
> {noformat}NameNode at /127.0.0.1:55036 calls
> recoverBlock(BP-409377067-xx.xx.xx.253-1429679063755:blk_1073741825_1001,
> targets=[DatanodeInfoWithStorage[127.0.0.1:55045,null,null]],
> newGenerationStamp=1002){noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)