hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lei (Eddy) Xu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-12569) Unset EC policy logs empty payload in edit log
Date Mon, 02 Oct 2017 18:10:00 GMT

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

Lei (Eddy) Xu updated HDFS-12569:
---------------------------------
    Attachment: HDFS-12569.01.patch

Hi, [~andrew.wang]

Thanks for the reviews. Writing the doc for {{unprotectedRemoveXAttrs}} makes me realize the
correct usage of {{unprotectedRemoveXAttrs}}.  Fixed in the updated patch. 

Please take look.

Will file the follow on JIRAs soon.

> 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, HDFS-12569.01.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>
>     <OPCODE>OP_REMOVE_XATTR</OPCODE>
>     <DATA>
>       <TXID>420481</TXID>
>       <SRC>/</SRC>
>       <RPC_CLIENTID>b098e758-9d7f-48b7-aa91-80ca52133b09</RPC_CLIENTID>
>       <RPC_CALLID>0</RPC_CALLID>
>     </DATA>
>   </RECORD>
> {code}
> As a result, when Active NN restarts, or the Standby NN replay edits, this op has not
effect.



--
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


Mime
View raw message