hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yi Liu (JIRA)" <j...@apache.org>
Subject [jira] [Work started] (HDFS-8223) Should calculate checksum for parity blocks in DFSStripedOutputStream
Date Wed, 22 Apr 2015 14:20:01 GMT

     [ https://issues.apache.org/jira/browse/HDFS-8223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Work on HDFS-8223 started by Yi Liu.
------------------------------------
> Should calculate checksum for parity blocks in DFSStripedOutputStream
> ---------------------------------------------------------------------
>
>                 Key: HDFS-8223
>                 URL: https://issues.apache.org/jira/browse/HDFS-8223
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Yi Liu
>            Assignee: Yi Liu
>
> {quote}
> DFSPacket p = createPacket(packetSize, chunksPerPacket,
>           streamer.getBytesCurBlock(),
>           streamer.getAndIncCurrentSeqno(), false);
>       int maxBytesToPacket = p.getMaxChunks() * bytesPerChecksum;
>       int toWrite = byteBuffer.remaining() > maxBytesToPacket ?
>           maxBytesToPacket: byteBuffer.remaining();
>       p.writeData(byteBuffer, toWrite);
>       streamer.incBytesCurBlock(toWrite);
>       packets.add(p);
> {quote}
> In {{DFSStripedOutputStream}}, have not calculated checksum for parity blocks in {{DFSStripedOutputStream}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message