Konstantin Shvachko created HDFS-12884: ------------------------------------------
Summary: 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 {{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 (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org