[
https://issues.apache.org/jira/browse/HDFS-12613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16197911#comment-16197911
]
Lei (Eddy) Xu edited comment on HDFS-12613 at 10/10/17 12:11 AM:
-----------------------------------------------------------------
This patch resets encoder / decoder to {{NULL}} after releases(). And it also
checks whether it is NULL in {{encode() / decode()}}, and throw {{IOE}} if it
runs on a closed / NULL coder.
was (Author: eddyxu):
This patch resets encoder / decoder to {{NULL}} after releases(). And it also
checks whether it is NULL in {{encode() / decode() }}, and throw {{IOE}} if it
runs on a closed / NULL object.
> Native EC coder should implement release() as idempotent function.
> ------------------------------------------------------------------
>
> Key: HDFS-12613
> URL: https://issues.apache.org/jira/browse/HDFS-12613
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: erasure-coding
> Affects Versions: 3.0.0-beta1
> Reporter: Lei (Eddy) Xu
> Assignee: Lei (Eddy) Xu
> Attachments: HDFS-12613.00.patch
>
>
> Recently, we found native EC coder crashes JVM because
> {{NativeRSDecoder#release()}} being called multiple times (HDFS-12612 and
> HDFS-12606).
> We should strength the implement the native code to make {{release()}}
> idempotent as well.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]