[ 
https://issues.apache.org/jira/browse/MAPREDUCE-2132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ramkumar Vadali updated MAPREDUCE-2132:
---------------------------------------

    Attachment: MAPREDUCE-2132.2.patch

Incorporated Scott's comments.
Scott, using endsWith() does not work since the corrupt file is under the RAID 
HAR directory, so the path will end with part-xxxx

> Need a command line option in RaidShell to fix blocks using raid
> ----------------------------------------------------------------
>
>                 Key: MAPREDUCE-2132
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2132
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: contrib/raid
>            Reporter: Ramkumar Vadali
>            Assignee: Ramkumar Vadali
>             Fix For: 0.22.0
>
>         Attachments: MAPREDUCE-2132.2.patch, MAPREDUCE-2132.patch
>
>
> RaidShell currently has an option to recover a file and return the path to 
> the recovered file. The administrator can then rename the recovered file to 
> the damaged file.
> The problem with this is that the file metadata is altered, specifically the 
> modification time. Instead we need a way to just repair the damaged blocks 
> and send the fixed blocks to a data node.
> Once this is done, we can put automation around it.

-- 
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