[
https://issues.apache.org/jira/browse/HDFS-12462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16315629#comment-16315629
]
SammiChen commented on HDFS-12462:
----------------------------------
Sure. Thanks [~liaoyuxiangqin] for be interested in this task. Currently,
each erasure coding policy schema has extra options which is an {{Map<String,
String>}} which doesn't order the element by its keys. When the in memory EC
policies are saved into fsImage two times. The fsImage part on disk are not
identical if you compare the first fsImage with the second fsImage one by one
byte, which will potentially cause problems in some cases. This task is to make
sure the serialized part of EC policies in fsimage and editlog keep the same no
matter how many times they are been saved.
> Erasure coding policy extra options should be sorted by key value
> -----------------------------------------------------------------
>
> Key: HDFS-12462
> URL: https://issues.apache.org/jira/browse/HDFS-12462
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: erasure-coding
> Reporter: SammiChen
> Labels: hdfs-ec-3.0-nice-to-have
>
> To make sure the serialized fsimage and editlog binary equal, Erasure coding
> policy extra options should be sorted by key value.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]