Bug in RAID FS (DistributedRaidFileSystem) unraid path
------------------------------------------------------
Key: MAPREDUCE-2570
URL: https://issues.apache.org/jira/browse/MAPREDUCE-2570
Project: Hadoop Map/Reduce
Issue Type: Bug
Components: contrib/raid
Reporter: Ramkumar Vadali
Assignee: Ramkumar Vadali
The "un-raid" path in DistributedRaidFileSystem goes through RaidNode.unRaidCorruptBlock(),
which has a bug when the parity file is inside a HAR. The temporary file that contains the
recovered block contents is created in the filesystem that hosts the parity file. In case
the parity file is inside a HAR, its filesystem is HarFileSystem, which is read-only. In this
case the temporary file creation will fail. The fix is a one-line change to use the underlying
filesystem of the HAR.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|