- <init>
- cleanupBlock
Cleanup a partial block if this write is for a replication request (and not from
a client)
- close
close files and release volume reference.
- computePartialChunkCrc
reads in the partial crc chunk and computes checksum of pre-existing data in
partial chunk.
- handleMirrorOutError
While writing to mirrorOut, failure to write to mirror should not affect this
datanode unless it is
- receiveBlock
- receivePacket
Receives and processes a packet. It can contain many chunks. returns the number
of data bytes that t
- verifyChunks
Verify multiple CRC chunks.
- adjustCrcFilePosition
Adjust the file pointer in the local meta file so that the last checksum will be
overwritten.
- checksum2long
Convert a checksum byte array to a long
- claimReplicaHandler
The caller claims the ownership of the replica handler.
- copyLastChunkChecksum