You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2011/06/24 19:39:47 UTC
[jira] [Updated] (MAPREDUCE-2620) Update RAID for HDFS-2087
[ https://issues.apache.org/jira/browse/MAPREDUCE-2620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated MAPREDUCE-2620:
----------------------------------------------
Attachment: m2620_20110624.patch
m2620_20110624.patch: changed to use the new API. In addition, I think there is an existing bug which sets {{minBytesRcvd=blockSize}} and {{maxBytesRcvd=0}}. It should be the other way around. I also fixed it as shown below.
{code}
- Sender.opWriteBlock(out, block.getBlock(), 1,
- BlockConstructionStage.
- PIPELINE_SETUP_CREATE,
- 0, blockSize, 0, "", null,
- nodes, block.getBlockToken());
+ new Sender(out).writeBlock(block.getBlock(), block.getBlockToken(), "",
+ nodes, null, BlockConstructionStage.PIPELINE_SETUP_CREATE,
+ 1, 0L, blockSize, 0L);
{code}
> Update RAID for HDFS-2087
> -------------------------
>
> Key: MAPREDUCE-2620
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2620
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: contrib/raid
> Affects Versions: 0.23.0
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: m2620_20110624.patch
>
>
> DataTransferProtocol was changed by HDFS-2087. Need to update RAID.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira