test
help: help for erasure coding command
-help
SubstringComparator
Usage: hdfs erasurecode [generic options]
help: createZone command
-fs NAMENODE -help createZone
RegexpComparator
^[ \t]*Create a zone to encode files using a specified schema( )*
RegexpComparator
^-createZone \[-s <schemaName>\] \[-c <cellSize>\] <path>(.)*
help: getZone command
-fs NAMENODE -help getZone
SubstringComparator
Get information about the EC zone at specified path
RegexpComparator
^-getZone <path>(.)*
help: listSchemas command
-fs NAMENODE -help listSchemas
SubstringComparator
Get the list of ECSchemas supported
RegexpComparator
^-listSchemas (.)*
createZone : create a zone to encode files
-fs NAMENODE -mkdir /eczone
-fs NAMENODE -createZone -s RS-6-3 /eczone
-fs NAMENODE -rmdir /eczone
SubstringComparator
EC Zone created successfully at NAMENODE/eczone
createZone : create a zone twice
-fs NAMENODE -mkdir /eczone
-fs NAMENODE -createZone /eczone
-fs NAMENODE -createZone /eczone
-fs NAMENODE -rmdir /eczone
SubstringComparator
Directory /eczone is already in an erasure coding zone
createZone : default schema
-fs NAMENODE -mkdir /eczone
-fs NAMENODE -createZone /eczone
-fs NAMENODE -getZone /eczone
-fs NAMENODE -rmdir /eczone
SubstringComparator
Dir: /eczone, Schema: ECSchema=[Name=RS-6-3
getZone : get information about the EC zone at specified path not in zone
-fs NAMENODE -mkdir /noec
-fs NAMENODE -getZone /noec
-fs NAMENODE -rmdir /noec
SubstringComparator
Path NAMENODE/noec is not in EC zone
getZone : get information about the EC zone at specified path
-fs NAMENODE -mkdir /eczone
-fs NAMENODE -createZone -s RS-6-3 /eczone
-fs NAMENODE -getZone /eczone
-fs NAMENODE -rmdir /eczone
SubstringComparator
Dir: /eczone, Schema: ECSchema=[Name=RS-6-3
getZone : get EC zone at specified file path
-fs NAMENODE -mkdir /eczone
-fs NAMENODE -createZone -s RS-6-3 /eczone
-fs NAMENODE -touchz /eczone/ecfile
-fs NAMENODE -getZone /eczone/ecfile
-fs NAMENODE -rm /eczone/ecfile
-fs NAMENODE -rmdir /eczone
SubstringComparator
Dir: /eczone, Schema: ECSchema=[Name=RS-6-3
listSchemas : get the list of ECSchemas supported
-fs NAMENODE -listSchemas
SubstringComparator
RS-6-3
createZone : illegal parameters - path is missing
-fs NAMENODE -mkdir /eczone
-fs NAMENODE -createZone
-fs NAMENODE -rmdir /eczone
RegexpComparator
^-createZone: <path> is missing(.)*
createZone : illegal parameters - schema name is missing
-fs NAMENODE -mkdir /eczone
-fs NAMENODE -createZone -s
-fs NAMENODE -rmdir /eczone
RegexpComparator
^-createZone: option -s requires 1 argument(.)*
createZone : illegal parameters - too many arguments
-fs NAMENODE -mkdir /eczone
-fs NAMENODE -createZone /eczone1 /eczone2
-fs NAMENODE -rmdir /eczone
SubstringComparator
-createZone: Too many arguments
createZone : illegal parameters - invalidschema
-fs NAMENODE -mkdir /eczone
-fs NAMENODE -createZone -s invalidschema /eczone
-fs NAMENODE -rmdir /eczone
SubstringComparator
Schema 'invalidschema' does not match any of the supported schemas. Please select any one of [RS-6-3]
createZone : illegal parameters - no such file
-fs NAMENODE -createZone /eczone
RegexpComparator
^createZone: `/eczone': No such file or directory(.)*
getZone : illegal parameters - path is missing
-fs NAMENODE -getZone
RegexpComparator
^-getZone: <path> is missing(.)*
getZone : illegal parameters - too many arguments
-fs NAMENODE -getZone /eczone /eczone
-fs NAMENODE -rm /eczone
SubstringComparator
-getZone: Too many arguments
getZone : illegal parameters - no such file
-fs NAMENODE -getZone /eczone
RegexpComparator
^getZone: `/eczone': No such file or directory(.)*
listSchemas : illegal parameters - too many parameters
-fs NAMENODE -listSchemas /eczone
SubstringComparator
-listSchemas: Too many parameters