[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835652#action_12835652
 ] 

Rodrigo Schmidt commented on MAPREDUCE-1510:
--------------------------------------------

Hi, Dhruba!

I just looked at the unit tests and it doesn't seem like we have this test that 
you mentioned.
But you are right! In this scenario the file also gets re-raided. I didn't 
change that behavior.

I just allowed files to be re-raided in case they lose their parity files for 
some reason.


> RAID should regenerate parity files if they get deleted
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-1510
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1510
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: contrib/raid
>            Reporter: Rodrigo Schmidt
>            Assignee: Rodrigo Schmidt
>         Attachments: MAPREDUCE-1510.patch
>
>
> Currently, if a source file has a replication factor lower or equal to that 
> expected by RAID, the file is skipped and no parity file is generated. I 
> don't think this is a good behavior since parity files can get wrongly 
> deleted, leaving the source file with a low replication factor. In that case, 
> raid should be able to recreate the parity file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to