[ 
https://issues.apache.org/jira/browse/HDFS-8242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14513852#comment-14513852
 ] 

Rakesh R commented on HDFS-8242:
--------------------------------

Thanks a lot [~zhz] and [~vinayrpet] for the review comments. I've tried to 
include more cases now.

bq.For each and every test, which modifies the system, such as createZone, we 
can have a cleanup command
added cleanup command.

*Below are the test cases, please see:*
1: help: help for erasure coding command
2: help: createZone command
3: help: getZoneInfo command
4: help: listSchemas command
5: createZone : create a zone to encode files
6: createZone : default schema
7: getZoneInfo : get information about the EC zone at specified path
8: getZoneInfo : get EC zone at specified file path
9: listSchemas : get the list of ECSchemas supported
10: createZone : illegal parameters - path is missing
11: createZone : illegal parameters - schema name is missing
12: createZone : illegal parameters - too many arguments
13: createZone : illegal parameters - invalidschema
14: createZone : illegal parameters - no such file
15: getZoneInfo : illegal parameters - path is missing
16: getZoneInfo : illegal parameters - too many arguments
17: getZoneInfo : illegal parameters - no such file
18: listSchemas : illegal parameters - too many parameters

Also, done one minor improvements of comma separated {{ecschemaname}} appending 
in {{ECCommand.java}} class.

Attached patch addressing the comments, could you please review it again. 
Thanks!

> Erasure Coding: XML based end-to-end test for ECCli commands
> ------------------------------------------------------------
>
>                 Key: HDFS-8242
>                 URL: https://issues.apache.org/jira/browse/HDFS-8242
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Rakesh R
>            Assignee: Rakesh R
>         Attachments: HDFS-8242-001.patch, HDFS-8242-002.patch, 
> HDFS-8242-003.patch
>
>
> This JIRA to add test cases with CLI test f/w for the commands present in 
> {{ECCli}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to