[ https://issues.apache.org/jira/browse/HDFS-12884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16408958#comment-16408958 ]
Hudson commented on HDFS-12884: ------------------------------- SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13865 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/13865/]) HDFS-12884. BlockUnderConstructionFeature.truncateBlock should be of (shv: rev 8d898ab25f1c2032a07c9bbd96ba3d0c4eb5be87) * (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INode.java * (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirTruncateOp.java * (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java * (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockUnderConstructionFeature.java * (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/FileDiffList.java > BlockUnderConstructionFeature.truncateBlock should be of type BlockInfo > ----------------------------------------------------------------------- > > Key: HDFS-12884 > URL: https://issues.apache.org/jira/browse/HDFS-12884 > Project: Hadoop HDFS > Issue Type: Improvement > Components: namenode > Affects Versions: 2.7.4 > Reporter: Konstantin Shvachko > Assignee: chencan > Priority: Major > Fix For: 3.1.0, 2.10.0, 2.9.1, 2.8.4, 2.7.6, 3.0.2, 3.2.0 > > Attachments: HDFS-12884.001.patch, HDFS-12884.002.patch, > HDFS-12884.003.patch > > > {{BlockUnderConstructionFeature.truncateBlock}} type should be changed to > {{BlockInfo}} from {{Block}}. {{truncateBlock}} is always assigned as > {{BlockInfo}}, so this will avoid unnecessary casts. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org