MAPREDUCE-2620. Update RAID for HDFS-2087.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1139400 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4c4eed13d5
commit
d09e2475b6
@ -310,6 +310,8 @@ Trunk (unreleased changes)
|
||||
MAPREDUCE-2550. Fix bin/mapred to work properly from within a source
|
||||
checkout (Eric Yang via todd)
|
||||
|
||||
MAPREDUCE-2620. Update RAID for HDFS-2087. (szetszwo)
|
||||
|
||||
Release 0.22.0 - Unreleased
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -780,11 +780,9 @@ private void sendFixedBlock(DatanodeInfo datanode,
|
||||
});
|
||||
|
||||
DatanodeInfo[] nodes = new DatanodeInfo[]{datanode};
|
||||
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);
|
||||
blockSender.sendBlock(out, baseStream);
|
||||
|
||||
LOG.info("Sent block " + block.getBlock() + " to " + datanode.name);
|
||||
|
Loading…
Reference in New Issue
Block a user