Lei (Eddy) Xu created HDFS-12569:
------------------------------------
Summary: 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
The edit log generated by {{hdfs ec -unsetPolicy}} generates an
{{OP_REMOVE_XATTR}} entry in edit logs, but the payload is 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: [email protected]
For additional commands, e-mail: [email protected]