hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dragon (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-10046) CLONE - Should calculate checksum for parity blocks in DFSStripedOutputStream
Date Tue, 15 Mar 2016 08:15:37 GMT
dragon created HDFS-10046:
-----------------------------

             Summary: CLONE - Should calculate checksum for parity blocks in DFSStripedOutputStream
                 Key: HDFS-10046
                 URL: https://issues.apache.org/jira/browse/HDFS-10046
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: dragon
            Assignee: Yi Liu
             Fix For: HDFS-7285


{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