|
@@ -206,7 +206,7 @@
|
|
<description>setPolicy : set erasure coding policy on a directory to encode files</description>
|
|
<description>setPolicy : set erasure coding policy on a directory to encode files</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
- <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-6-3-64k -path /ecdir</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-6-3-1024k -path /ecdir</ec-admin-command>
|
|
</test-commands>
|
|
</test-commands>
|
|
<cleanup-commands>
|
|
<cleanup-commands>
|
|
<command>-fs NAMENODE -rmdir /ecdir</command>
|
|
<command>-fs NAMENODE -rmdir /ecdir</command>
|
|
@@ -214,7 +214,7 @@
|
|
<comparators>
|
|
<comparators>
|
|
<comparator>
|
|
<comparator>
|
|
<type>SubstringComparator</type>
|
|
<type>SubstringComparator</type>
|
|
- <expected-output>Set erasure coding policy RS-6-3-64k on /ecdir</expected-output>
|
|
|
|
|
|
+ <expected-output>Set erasure coding policy RS-6-3-1024k on /ecdir</expected-output>
|
|
</comparator>
|
|
</comparator>
|
|
</comparators>
|
|
</comparators>
|
|
</test>
|
|
</test>
|
|
@@ -223,8 +223,8 @@
|
|
<description>setPolicy : set a policy twice</description>
|
|
<description>setPolicy : set a policy twice</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
- <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-6-3-64k -path /ecdir</ec-admin-command>
|
|
|
|
- <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-6-3-64k -path /ecdir</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-6-3-1024k -path /ecdir</ec-admin-command>
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-6-3-1024k -path /ecdir</ec-admin-command>
|
|
</test-commands>
|
|
</test-commands>
|
|
<cleanup-commands>
|
|
<cleanup-commands>
|
|
<command>-fs NAMENODE -rmdir /ecdir</command>
|
|
<command>-fs NAMENODE -rmdir /ecdir</command>
|
|
@@ -232,7 +232,7 @@
|
|
<comparators>
|
|
<comparators>
|
|
<comparator>
|
|
<comparator>
|
|
<type>SubstringComparator</type>
|
|
<type>SubstringComparator</type>
|
|
- <expected-output>Set erasure coding policy RS-6-3-64k on /ecdir</expected-output>
|
|
|
|
|
|
+ <expected-output>Set erasure coding policy RS-6-3-1024k on /ecdir</expected-output>
|
|
</comparator>
|
|
</comparator>
|
|
</comparators>
|
|
</comparators>
|
|
</test>
|
|
</test>
|
|
@@ -241,7 +241,7 @@
|
|
<description>setPolicy : set replication policy on a directory</description>
|
|
<description>setPolicy : set replication policy on a directory</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
- <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-6-3-64k -path /ecdir</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-6-3-1024k -path /ecdir</ec-admin-command>
|
|
<command>-fs NAMENODE -mkdir /ecdir/replica</command>
|
|
<command>-fs NAMENODE -mkdir /ecdir/replica</command>
|
|
<ec-admin-command>-fs NAMENODE -setPolicy -replicate -path /ecdir/replica</ec-admin-command>
|
|
<ec-admin-command>-fs NAMENODE -setPolicy -replicate -path /ecdir/replica</ec-admin-command>
|
|
<command>-fs NAMENODE -touchz /ecdir/replica/file</command>
|
|
<command>-fs NAMENODE -touchz /ecdir/replica/file</command>
|
|
@@ -264,7 +264,7 @@
|
|
<description>unsetPolicy : unset policy and get</description>
|
|
<description>unsetPolicy : unset policy and get</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
- <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-6-3-64k -path /ecdir</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-6-3-1024k -path /ecdir</ec-admin-command>
|
|
<ec-admin-command>-fs NAMENODE -unsetPolicy -path /ecdir</ec-admin-command>
|
|
<ec-admin-command>-fs NAMENODE -unsetPolicy -path /ecdir</ec-admin-command>
|
|
<ec-admin-command>-fs NAMENODE -getPolicy -path /ecdir</ec-admin-command>
|
|
<ec-admin-command>-fs NAMENODE -getPolicy -path /ecdir</ec-admin-command>
|
|
</test-commands>
|
|
</test-commands>
|
|
@@ -283,8 +283,8 @@
|
|
<description>setPolicy : change different policy and get</description>
|
|
<description>setPolicy : change different policy and get</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
- <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-6-3-64k -path /ecdir</ec-admin-command>
|
|
|
|
- <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-3-2-64k -path /ecdir</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-6-3-1024k -path /ecdir</ec-admin-command>
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-3-2-1024k -path /ecdir</ec-admin-command>
|
|
<ec-admin-command>-fs NAMENODE -getPolicy -path /ecdir</ec-admin-command>
|
|
<ec-admin-command>-fs NAMENODE -getPolicy -path /ecdir</ec-admin-command>
|
|
</test-commands>
|
|
</test-commands>
|
|
<cleanup-commands>
|
|
<cleanup-commands>
|
|
@@ -293,7 +293,7 @@
|
|
<comparators>
|
|
<comparators>
|
|
<comparator>
|
|
<comparator>
|
|
<type>SubstringComparator</type>
|
|
<type>SubstringComparator</type>
|
|
- <expected-output>RS-3-2-64k</expected-output>
|
|
|
|
|
|
+ <expected-output>RS-3-2-1024k</expected-output>
|
|
</comparator>
|
|
</comparator>
|
|
</comparators>
|
|
</comparators>
|
|
</test>
|
|
</test>
|
|
@@ -303,7 +303,7 @@
|
|
<test-commands>
|
|
<test-commands>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
<command>-fs NAMENODE -mkdir /ecdir/child</command>
|
|
<command>-fs NAMENODE -mkdir /ecdir/child</command>
|
|
- <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-6-3-64k -path /ecdir</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-6-3-1024k -path /ecdir</ec-admin-command>
|
|
<ec-admin-command>-fs NAMENODE -unsetPolicy -path /ecdir/child</ec-admin-command>
|
|
<ec-admin-command>-fs NAMENODE -unsetPolicy -path /ecdir/child</ec-admin-command>
|
|
<command>-fs NAMENODE -touchz /ecdir/child/ecfile</command>
|
|
<command>-fs NAMENODE -touchz /ecdir/child/ecfile</command>
|
|
<ec-admin-command>-fs NAMENODE -getPolicy -path /ecdir/child/ecfile</ec-admin-command>
|
|
<ec-admin-command>-fs NAMENODE -getPolicy -path /ecdir/child/ecfile</ec-admin-command>
|
|
@@ -316,7 +316,7 @@
|
|
<comparators>
|
|
<comparators>
|
|
<comparator>
|
|
<comparator>
|
|
<type>SubstringComparator</type>
|
|
<type>SubstringComparator</type>
|
|
- <expected-output>RS-6-3-64k</expected-output>
|
|
|
|
|
|
+ <expected-output>RS-6-3-1024k</expected-output>
|
|
</comparator>
|
|
</comparator>
|
|
</comparators>
|
|
</comparators>
|
|
</test>
|
|
</test>
|
|
@@ -342,7 +342,7 @@
|
|
<description>getPolicy : get EC policy information at specified path, which doesn't have an EC policy</description>
|
|
<description>getPolicy : get EC policy information at specified path, which doesn't have an EC policy</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
- <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-6-3-64k -path /ecdir</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-6-3-1024k -path /ecdir</ec-admin-command>
|
|
<ec-admin-command>-fs NAMENODE -getPolicy -path /ecdir</ec-admin-command>
|
|
<ec-admin-command>-fs NAMENODE -getPolicy -path /ecdir</ec-admin-command>
|
|
</test-commands>
|
|
</test-commands>
|
|
<cleanup-commands>
|
|
<cleanup-commands>
|
|
@@ -351,7 +351,7 @@
|
|
<comparators>
|
|
<comparators>
|
|
<comparator>
|
|
<comparator>
|
|
<type>SubstringComparator</type>
|
|
<type>SubstringComparator</type>
|
|
- <expected-output>RS-6-3-64k</expected-output>
|
|
|
|
|
|
+ <expected-output>RS-6-3-1024k</expected-output>
|
|
</comparator>
|
|
</comparator>
|
|
</comparators>
|
|
</comparators>
|
|
</test>
|
|
</test>
|
|
@@ -360,7 +360,7 @@
|
|
<description>getPolicy : get EC policy information at specified path, which doesn't have an EC policy</description>
|
|
<description>getPolicy : get EC policy information at specified path, which doesn't have an EC policy</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
- <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-6-3-64k -path /ecdir</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-6-3-1024k -path /ecdir</ec-admin-command>
|
|
<command>-fs NAMENODE -touchz /ecdir/ecfile</command>
|
|
<command>-fs NAMENODE -touchz /ecdir/ecfile</command>
|
|
<ec-admin-command>-fs NAMENODE -getPolicy -path /ecdir/ecfile</ec-admin-command>
|
|
<ec-admin-command>-fs NAMENODE -getPolicy -path /ecdir/ecfile</ec-admin-command>
|
|
</test-commands>
|
|
</test-commands>
|
|
@@ -371,7 +371,7 @@
|
|
<comparators>
|
|
<comparators>
|
|
<comparator>
|
|
<comparator>
|
|
<type>SubstringComparator</type>
|
|
<type>SubstringComparator</type>
|
|
- <expected-output>RS-6-3-64k</expected-output>
|
|
|
|
|
|
+ <expected-output>RS-6-3-1024k</expected-output>
|
|
</comparator>
|
|
</comparator>
|
|
</comparators>
|
|
</comparators>
|
|
</test>
|
|
</test>
|
|
@@ -405,7 +405,7 @@
|
|
</comparator>
|
|
</comparator>
|
|
<comparator>
|
|
<comparator>
|
|
<type>SubstringComparator</type>
|
|
<type>SubstringComparator</type>
|
|
- <expected-output>Add ErasureCodingPolicy RS-6-3-64k failed</expected-output>
|
|
|
|
|
|
+ <expected-output>Add ErasureCodingPolicy RS-6-3-1024k failed</expected-output>
|
|
</comparator>
|
|
</comparator>
|
|
</comparators>
|
|
</comparators>
|
|
</test>
|
|
</test>
|
|
@@ -413,14 +413,14 @@
|
|
<test>
|
|
<test>
|
|
<description>enablePolicy : enable the erasure coding policy</description>
|
|
<description>enablePolicy : enable the erasure coding policy</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
- <ec-admin-command>-fs NAMENODE -enablePolicy -policy RS-6-3-64k</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -enablePolicy -policy RS-6-3-1024k</ec-admin-command>
|
|
</test-commands>
|
|
</test-commands>
|
|
<cleanup-commands>
|
|
<cleanup-commands>
|
|
</cleanup-commands>
|
|
</cleanup-commands>
|
|
<comparators>
|
|
<comparators>
|
|
<comparator>
|
|
<comparator>
|
|
<type>SubstringComparator</type>
|
|
<type>SubstringComparator</type>
|
|
- <expected-output>Erasure coding policy RS-6-3-64k is enabled</expected-output>
|
|
|
|
|
|
+ <expected-output>Erasure coding policy RS-6-3-1024k is enabled</expected-output>
|
|
</comparator>
|
|
</comparator>
|
|
</comparators>
|
|
</comparators>
|
|
</test>
|
|
</test>
|
|
@@ -428,15 +428,15 @@
|
|
<test>
|
|
<test>
|
|
<description>enablePolicy : enable the erasure coding policy twice</description>
|
|
<description>enablePolicy : enable the erasure coding policy twice</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
- <ec-admin-command>-fs NAMENODE -enablePolicy -policy RS-6-3-64k</ec-admin-command>
|
|
|
|
- <ec-admin-command>-fs NAMENODE -enablePolicy -policy RS-6-3-64k</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -enablePolicy -policy RS-6-3-1024k</ec-admin-command>
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -enablePolicy -policy RS-6-3-1024k</ec-admin-command>
|
|
</test-commands>
|
|
</test-commands>
|
|
<cleanup-commands>
|
|
<cleanup-commands>
|
|
</cleanup-commands>
|
|
</cleanup-commands>
|
|
<comparators>
|
|
<comparators>
|
|
<comparator>
|
|
<comparator>
|
|
<type>SubstringComparator</type>
|
|
<type>SubstringComparator</type>
|
|
- <expected-output>Erasure coding policy RS-6-3-64k is enabled</expected-output>
|
|
|
|
|
|
+ <expected-output>Erasure coding policy RS-6-3-1024k is enabled</expected-output>
|
|
</comparator>
|
|
</comparator>
|
|
</comparators>
|
|
</comparators>
|
|
</test>
|
|
</test>
|
|
@@ -444,15 +444,15 @@
|
|
<test>
|
|
<test>
|
|
<description>disablePolicy : disable the erasure coding policy</description>
|
|
<description>disablePolicy : disable the erasure coding policy</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
- <ec-admin-command>-fs NAMENODE -disablePolicy -policy RS-6-3-64k</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -disablePolicy -policy RS-6-3-1024k</ec-admin-command>
|
|
</test-commands>
|
|
</test-commands>
|
|
<cleanup-commands>
|
|
<cleanup-commands>
|
|
- <ec-admin-command>-fs NAMENODE -enablePolicy -policy RS-6-3-64k</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -enablePolicy -policy RS-6-3-1024k</ec-admin-command>
|
|
</cleanup-commands>
|
|
</cleanup-commands>
|
|
<comparators>
|
|
<comparators>
|
|
<comparator>
|
|
<comparator>
|
|
<type>SubstringComparator</type>
|
|
<type>SubstringComparator</type>
|
|
- <expected-output>Erasure coding policy RS-6-3-64k is disabled</expected-output>
|
|
|
|
|
|
+ <expected-output>Erasure coding policy RS-6-3-1024k is disabled</expected-output>
|
|
</comparator>
|
|
</comparator>
|
|
</comparators>
|
|
</comparators>
|
|
</test>
|
|
</test>
|
|
@@ -460,16 +460,16 @@
|
|
<test>
|
|
<test>
|
|
<description>disablePolicy : disable the erasure coding policy twice</description>
|
|
<description>disablePolicy : disable the erasure coding policy twice</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
- <ec-admin-command>-fs NAMENODE -disablePolicy -policy RS-6-3-64k</ec-admin-command>
|
|
|
|
- <ec-admin-command>-fs NAMENODE -disablePolicy -policy RS-6-3-64k</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -disablePolicy -policy RS-6-3-1024k</ec-admin-command>
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -disablePolicy -policy RS-6-3-1024k</ec-admin-command>
|
|
</test-commands>
|
|
</test-commands>
|
|
<cleanup-commands>
|
|
<cleanup-commands>
|
|
- <ec-admin-command>-fs NAMENODE -enablePolicy -policy RS-6-3-64k</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -enablePolicy -policy RS-6-3-1024k</ec-admin-command>
|
|
</cleanup-commands>
|
|
</cleanup-commands>
|
|
<comparators>
|
|
<comparators>
|
|
<comparator>
|
|
<comparator>
|
|
<type>SubstringComparator</type>
|
|
<type>SubstringComparator</type>
|
|
- <expected-output>Erasure coding policy RS-6-3-64k is disabled</expected-output>
|
|
|
|
|
|
+ <expected-output>Erasure coding policy RS-6-3-1024k is disabled</expected-output>
|
|
</comparator>
|
|
</comparator>
|
|
</comparators>
|
|
</comparators>
|
|
</test>
|
|
</test>
|
|
@@ -513,7 +513,7 @@
|
|
<description>setPolicy : illegal parameters - too many arguments case 1</description>
|
|
<description>setPolicy : illegal parameters - too many arguments case 1</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
- <ec-admin-command>-fs NAMENODE -setPolicy -path /ecdir1 -policy RS-3-2-64k /ecdir2</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -setPolicy -path /ecdir1 -policy RS-3-2-1024k /ecdir2</ec-admin-command>
|
|
</test-commands>
|
|
</test-commands>
|
|
<cleanup-commands>
|
|
<cleanup-commands>
|
|
<command>-fs NAMENODE -rmdir /ecdir</command>
|
|
<command>-fs NAMENODE -rmdir /ecdir</command>
|
|
@@ -530,7 +530,7 @@
|
|
<description>setPolicy : illegal parameters - too many arguments case 2</description>
|
|
<description>setPolicy : illegal parameters - too many arguments case 2</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
- <ec-admin-command>-fs NAMENODE -setPolicy -path /ecdir1 -policy RS-3-2-64k -replicate /ecdir2</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -setPolicy -path /ecdir1 -policy RS-3-2-1024k -replicate /ecdir2</ec-admin-command>
|
|
</test-commands>
|
|
</test-commands>
|
|
<cleanup-commands>
|
|
<cleanup-commands>
|
|
<command>-fs NAMENODE -rmdir /ecdir</command>
|
|
<command>-fs NAMENODE -rmdir /ecdir</command>
|
|
@@ -561,10 +561,10 @@
|
|
</test>
|
|
</test>
|
|
|
|
|
|
<test>
|
|
<test>
|
|
- <description>setPolicy : illegal parameters - RS-10-4-64k</description>
|
|
|
|
|
|
+ <description>setPolicy : illegal parameters - RS-10-4-1024k</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
<command>-fs NAMENODE -mkdir /ecdir</command>
|
|
- <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-10-4-64k -path /ecdir</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -setPolicy -policy RS-10-4-1024k -path /ecdir</ec-admin-command>
|
|
</test-commands>
|
|
</test-commands>
|
|
<cleanup-commands>
|
|
<cleanup-commands>
|
|
<command>-fs NAMENODE -rmdir /ecdir</command>
|
|
<command>-fs NAMENODE -rmdir /ecdir</command>
|
|
@@ -572,7 +572,7 @@
|
|
<comparators>
|
|
<comparators>
|
|
<comparator>
|
|
<comparator>
|
|
<type>SubstringComparator</type>
|
|
<type>SubstringComparator</type>
|
|
- <expected-output>Policy 'RS-10-4-64k' does not match any enabled erasure coding policies</expected-output>
|
|
|
|
|
|
+ <expected-output>Policy 'RS-10-4-1024k' does not match any enabled erasure coding policies</expected-output>
|
|
</comparator>
|
|
</comparator>
|
|
</comparators>
|
|
</comparators>
|
|
</test>
|
|
</test>
|
|
@@ -580,7 +580,7 @@
|
|
<test>
|
|
<test>
|
|
<description>setPolicy : illegal parameters - no such file</description>
|
|
<description>setPolicy : illegal parameters - no such file</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
- <ec-admin-command>-fs NAMENODE -setPolicy -path /ecdir -policy RS-3-2-64k</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -setPolicy -path /ecdir -policy RS-3-2-1024k</ec-admin-command>
|
|
</test-commands>
|
|
</test-commands>
|
|
<cleanup-commands>
|
|
<cleanup-commands>
|
|
</cleanup-commands>
|
|
</cleanup-commands>
|
|
@@ -610,7 +610,7 @@
|
|
<test>
|
|
<test>
|
|
<description>setPolicy : illegal parameters - replicate and policy coexist</description>
|
|
<description>setPolicy : illegal parameters - replicate and policy coexist</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
- <ec-admin-command>-fs NAMENODE -setPolicy -path /ecdir -policy RS-3-2-64k -replicate</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -setPolicy -path /ecdir -policy RS-3-2-1024k -replicate</ec-admin-command>
|
|
</test-commands>
|
|
</test-commands>
|
|
<cleanup-commands>
|
|
<cleanup-commands>
|
|
</cleanup-commands>
|
|
</cleanup-commands>
|
|
@@ -652,7 +652,7 @@
|
|
<comparators>
|
|
<comparators>
|
|
<comparator>
|
|
<comparator>
|
|
<type>SubstringComparator</type>
|
|
<type>SubstringComparator</type>
|
|
- <expected-output>RS-6-3-64k</expected-output>
|
|
|
|
|
|
+ <expected-output>RS-6-3-1024k</expected-output>
|
|
</comparator>
|
|
</comparator>
|
|
</comparators>
|
|
</comparators>
|
|
</test>
|
|
</test>
|
|
@@ -751,7 +751,7 @@
|
|
<test>
|
|
<test>
|
|
<description>enablePolicy : illegal parameters - policy is missing</description>
|
|
<description>enablePolicy : illegal parameters - policy is missing</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
- <ec-admin-command>-fs NAMENODE -enablePolicy RS-6-3-64k</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -enablePolicy RS-6-3-1024k</ec-admin-command>
|
|
</test-commands>
|
|
</test-commands>
|
|
<cleanup-commands>
|
|
<cleanup-commands>
|
|
</cleanup-commands>
|
|
</cleanup-commands>
|
|
@@ -766,7 +766,7 @@
|
|
<test>
|
|
<test>
|
|
<description>enablePolicy : illegal parameters - too many parameters</description>
|
|
<description>enablePolicy : illegal parameters - too many parameters</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
- <ec-admin-command>-fs NAMENODE -enablePolicy -policy RS-6-3-64k RS-3-2-64k</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -enablePolicy -policy RS-6-3-1024k RS-3-2-1024k</ec-admin-command>
|
|
</test-commands>
|
|
</test-commands>
|
|
<cleanup-commands>
|
|
<cleanup-commands>
|
|
</cleanup-commands>
|
|
</cleanup-commands>
|
|
@@ -781,7 +781,7 @@
|
|
<test>
|
|
<test>
|
|
<description>disablePolicy : illegal parameters - policy is missing</description>
|
|
<description>disablePolicy : illegal parameters - policy is missing</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
- <ec-admin-command>-fs NAMENODE -disablePolicy RS-6-3-64k</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -disablePolicy RS-6-3-1024k</ec-admin-command>
|
|
</test-commands>
|
|
</test-commands>
|
|
<cleanup-commands>
|
|
<cleanup-commands>
|
|
</cleanup-commands>
|
|
</cleanup-commands>
|
|
@@ -796,7 +796,7 @@
|
|
<test>
|
|
<test>
|
|
<description>disablePolicy : illegal parameters - too many parameters</description>
|
|
<description>disablePolicy : illegal parameters - too many parameters</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
- <ec-admin-command>-fs NAMENODE -disablePolicy -policy RS-6-3-64k RS-3-2-64k</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -disablePolicy -policy RS-6-3-1024k RS-3-2-1024k</ec-admin-command>
|
|
</test-commands>
|
|
</test-commands>
|
|
<cleanup-commands>
|
|
<cleanup-commands>
|
|
</cleanup-commands>
|
|
</cleanup-commands>
|
|
@@ -842,7 +842,7 @@
|
|
<description>count: file using absolute path with option -e to show erasurecoding policy of a directory</description>
|
|
<description>count: file using absolute path with option -e to show erasurecoding policy of a directory</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
<command>-fs NAMENODE -mkdir /dir1</command>
|
|
<command>-fs NAMENODE -mkdir /dir1</command>
|
|
- <ec-admin-command>-fs NAMENODE -setPolicy -path /dir1 -policy RS-6-3-64k</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -setPolicy -path /dir1 -policy RS-6-3-1024k</ec-admin-command>
|
|
<command>-fs NAMENODE -touchz /dir1/file1</command>
|
|
<command>-fs NAMENODE -touchz /dir1/file1</command>
|
|
<command>-fs NAMENODE -touchz /dir1/file2</command>
|
|
<command>-fs NAMENODE -touchz /dir1/file2</command>
|
|
<command>-fs NAMENODE -count -e -v /dir1</command>
|
|
<command>-fs NAMENODE -count -e -v /dir1</command>
|
|
@@ -883,7 +883,7 @@
|
|
<description>ls: file using absolute path and option -e to show erasure coding policy of a directory</description>
|
|
<description>ls: file using absolute path and option -e to show erasure coding policy of a directory</description>
|
|
<test-commands>
|
|
<test-commands>
|
|
<command>-fs NAMENODE -mkdir -p /ecdir</command>
|
|
<command>-fs NAMENODE -mkdir -p /ecdir</command>
|
|
- <ec-admin-command>-fs NAMENODE -setPolicy -path /ecdir -policy RS-6-3-64k</ec-admin-command>
|
|
|
|
|
|
+ <ec-admin-command>-fs NAMENODE -setPolicy -path /ecdir -policy RS-6-3-1024k</ec-admin-command>
|
|
<command>-fs NAMENODE -touchz /ecdir/file1</command>
|
|
<command>-fs NAMENODE -touchz /ecdir/file1</command>
|
|
<command>-fs NAMENODE -touchz /ecdir/file2</command>
|
|
<command>-fs NAMENODE -touchz /ecdir/file2</command>
|
|
<command>-fs NAMENODE -touchz /ecdir/file3</command>
|
|
<command>-fs NAMENODE -touchz /ecdir/file3</command>
|