[ 
https://issues.apache.org/jira/browse/HDFS-9173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jing Zhao updated HDFS-9173:
----------------------------
    Attachment: HDFS-9173.09.patch

Yes, the current {{getSafeLength}} implementation depends on the assumption 
that the parity chunks are only generated based on the full stripe. We need to 
update the whole mechanism after supporting hflush. That requires additional 
metadata and maybe new protocol. So currently I just added a new TODO to the 
{{getSafeLength}} method.

The new patch also fixes the findbug warning.

> Erasure Coding: Lease recovery for striped file
> -----------------------------------------------
>
>                 Key: HDFS-9173
>                 URL: https://issues.apache.org/jira/browse/HDFS-9173
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Walter Su
>            Assignee: Walter Su
>         Attachments: HDFS-9173.00.wip.patch, HDFS-9173.01.patch, 
> HDFS-9173.02.step125.patch, HDFS-9173.03.patch, HDFS-9173.04.patch, 
> HDFS-9173.05.patch, HDFS-9173.06.patch, HDFS-9173.07.patch, 
> HDFS-9173.08.patch, HDFS-9173.09.patch, HDFS-9173.09.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to