hadoop-hdfs-issues mailing list archives

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

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

Hudson commented on HDFS-12569:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13006 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/13006/])
HDFS-12569. Unset EC policy logs empty payload in edit log. (Lei (Eddy) (lei: rev 27ffd43b6419c9ebe697536bcb6abb858ce791d2)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirXAttrOp.java
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirErasureCodingOp.java
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestUnsetAndChangeDirectoryEcPolicy.java


> 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
>             Fix For: 3.0.0
>
>         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