[
https://issues.apache.org/jira/browse/HDFS-12884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konstantin Shvachko updated HDFS-12884:
---------------------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Fix Version/s: 3.2.0
3.0.2
2.7.6
2.8.4
2.9.1
2.10.0
3.1.0
Status: Resolved (was: Patch Available)
I just committed this to a bunch of branches. Thank you [~candychencan].
{code}
13f74a3..5275284 branch-2 -> branch-2
fec04c4..37403e1 branch-2.7 -> branch-2.7
d7c91f6..17735d8 branch-2.8 -> branch-2.8
b21b834..d1a89c4 branch-2.9 -> branch-2.9
8f60b50..987d90a branch-3.0 -> branch-3.0
5d4b2c3..21db4e9 branch-3.1 -> branch-3.1
5aa7052..8d898ab trunk -> trunk
{code}
> 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: [email protected]
For additional commands, e-mail: [email protected]