[
https://issues.apache.org/jira/browse/HDFS-7906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Plamen Jeliazkov updated HDFS-7906:
-----------------------------------
Description:
HDFS-7886 revealed that there is a new replica state change as part of Truncate.
It is now possible that a FINALIZED replica become a RUR replica with an
original replica pointing back to the FINALIZED replica.
As a result, it is possible to hit an assert in BlockLIstAsLongs.setBlock()
whereby you are trying to add a FINALIZED replica to the ucList because a RUR
only had an under-construction original replica prior to Truncate.
was:
HDFS-7886 revealed that there is a new replica state change as part of Truncate.
It is now possible that a FINALIZED replica become a RUR replica with an
original replica pointing back to the FINALIZED replica.
As a result, it is possible to hit an assert in BlockLIstAsLongs.setBlock()
whereby you are trying to add a FINALIZED replica to the ucList because a RUR
only had an under-construction replica prior to Truncate.
> BlockReport of a RUR can have a FINALIZED original replica from Truncate
> ------------------------------------------------------------------------
>
> Key: HDFS-7906
> URL: https://issues.apache.org/jira/browse/HDFS-7906
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: 2.7.0
> Reporter: Plamen Jeliazkov
> Assignee: Plamen Jeliazkov
>
> HDFS-7886 revealed that there is a new replica state change as part of
> Truncate.
> It is now possible that a FINALIZED replica become a RUR replica with an
> original replica pointing back to the FINALIZED replica.
> As a result, it is possible to hit an assert in BlockLIstAsLongs.setBlock()
> whereby you are trying to add a FINALIZED replica to the ucList because a RUR
> only had an under-construction original replica prior to Truncate.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)