You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Xiao Chen (JIRA)" <ji...@apache.org> on 2017/10/17 04:21:03 UTC

[jira] [Updated] (HDFS-12518) Re-encryption should handle task cancellation and progress better

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

Xiao Chen updated HDFS-12518:
-----------------------------
    Attachment: HDFS-12518.02.patch

Thanks for the review [~jojochuang]!

Patch 2 addressed first 2 comments. For synchronization, I'd prefer to keep things simple and easier to maintain. So kept the current (all {{submissions}} protected by {{synchronized}}) way.

> Re-encryption should handle task cancellation and progress better
> -----------------------------------------------------------------
>
>                 Key: HDFS-12518
>                 URL: https://issues.apache.org/jira/browse/HDFS-12518
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: encryption
>    Affects Versions: 3.0.0-beta1
>            Reporter: Xiao Chen
>            Assignee: Xiao Chen
>         Attachments: HDFS-12518.01.patch, HDFS-12518.02.patch
>
>
> Re-encryption should handle task cancellation and progress tracking better in general.
> In a recent internal report, a canceled re-encryption could lead to the progress of the zone being 'Processing' forever. Sending a new cancel command would make it complete, but new re-encryptions for the same zone wouldn't work because the canceled future is not removed.
> This jira proposes to fix that, and enhance the currently handling so new command would start from a clean state.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org