Skip to content

Commit 1127215

Browse files
committed
HDFS-14679. Failed to add erasure code policies with example template. Contributed by Yuan Zhou.
1 parent d6697da commit 1127215

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

hadoop-hdfs-project/hadoop-hdfs/src/main/conf/user_ec_policies.xml.template

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,21 @@
3535
<schema id="XORk2m1">
3636
<!-- The combination of codec, k, m and options as the schema ID, defines
3737
a unique schema, for example 'xor-2-1'. schema ID is case insensitive -->
38-
<!-- codec with this specific name should exist already in this system -->
38+
<!-- codec with this specific name should exist already in this system.
39+
The codec name is case sensitive -->
3940
<codec>xor</codec>
4041
<k>2</k>
4142
<m>1</m>
4243
<options> </options>
4344
</schema>
4445
<schema id="RSk12m4">
45-
<codec>RS</codec>
46+
<codec>rs</codec>
4647
<k>12</k>
4748
<m>4</m>
4849
<options> </options>
4950
</schema>
5051
<schema id="RS-legacyk12m4">
51-
<codec>RS-legacy</codec>
52+
<codec>rs-legacy</codec>
5253
<k>12</k>
5354
<m>4</m>
5455
<options> </options>

0 commit comments

Comments
 (0)