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>\] <path>(.)*
help: getZoneInfo command
-fs NAMENODE -help getZoneInfo
SubstringComparator
Get information about the EC zone at specified path
RegexpComparator
^-getZoneInfo <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 : default schema
-fs NAMENODE -mkdir /eczone
-fs NAMENODE -createZone /eczone
-fs NAMENODE -getZoneInfo /eczone
-fs NAMENODE -rmdir /eczone
SubstringComparator
Dir: /eczone, Schema: ECSchema=[Name=RS-6-3
getZoneInfo : get information about the EC zone at specified path
-fs NAMENODE -mkdir /eczone
-fs NAMENODE -createZone -s RS-6-3 /eczone
-fs NAMENODE -getZoneInfo /eczone
-fs NAMENODE -rmdir /eczone
SubstringComparator
Dir: /eczone, Schema: ECSchema=[Name=RS-6-3
getZoneInfo : 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 -getZoneInfo /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(.)*
getZoneInfo : illegal parameters - path is missing
-fs NAMENODE -getZoneInfo
RegexpComparator
^-getZoneInfo: <path> is missing(.)*
getZoneInfo : illegal parameters - too many arguments
-fs NAMENODE -getZoneInfo /eczone /eczone
-fs NAMENODE -rm /eczone
SubstringComparator
-getZoneInfo: Too many arguments
getZoneInfo : illegal parameters - no such file
-fs NAMENODE -getZoneInfo /eczone
RegexpComparator
^getZoneInfo: `/eczone': No such file or directory(.)*
listSchemas : illegal parameters - too many parameters
-fs NAMENODE -listSchemas /eczone
SubstringComparator
-listSchemas: Too many parameters