hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12569) Unset EC policy logs empty payload in edit log
Date Sat, 30 Sep 2017 00:39:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-12569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16186747#comment-16186747

Andrew Wang commented on HDFS-12569:

Fix LGTM, could you also add some javadoc to unprotectedRemoveXattrs to help avoid this in
the future? +1 pending that and Jenkins.

Seems like we need some more testing for this area of the code generally, could you file a
follow-on JIRA? This covers restarting from the edit log, but we should also do one that recovers
from a checkpoint too.

> Unset EC policy logs empty payload in edit log
> ----------------------------------------------
>                 Key: HDFS-12569
>                 URL: https://issues.apache.org/jira/browse/HDFS-12569
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: erasure-coding
>    Affects Versions: 3.0.0-alpha4
>            Reporter: Lei (Eddy) Xu
>            Assignee: Lei (Eddy) Xu
>            Priority: Blocker
>         Attachments: HDFS-12569.00.patch
> The edit log generated by {{hdfs ec -unsetPolicy}} generates an {{OP_REMOVE_XATTR}} entry
in edit logs, but the payload like xattr namespace / name / vaue are missing:
> {code}
>   <RECORD>
>     <DATA>
>       <TXID>420481</TXID>
>       <SRC>/</SRC>
>       <RPC_CLIENTID>b098e758-9d7f-48b7-aa91-80ca52133b09</RPC_CLIENTID>
>     </DATA>
>   </RECORD>
> {code}
> As a result, when Active NN restarts, or the Standby NN replay edits, this op has not

This message was sent by Atlassian JIRA

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

View raw message