((BlockInlineChecksumWriter)dn.getFSDataset().writeToBlock(
namespaceId, blk, blk, false, false, 1, 512)).getBlockDataFile()
.getWriter(0);
dataOut.write(bytes);
dataOut.close();
dn.finalizeAndNotifyNamenode(namespaceId, blk);
}
} catch (IOException ioe) {
LOG.warn(ioe);
}
}