[ 
https://issues.apache.org/jira/browse/HDFS-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13014861#comment-13014861
 ] 

Konstantin Boudnik commented on HDFS-827:
-----------------------------------------

Todd, the change in 
{{src/java/org/apache/hadoop/hdfs/server/datanode/ReplicaInPipeline.java}}
{noformat}
+    int bytesPerChunk = checksum.getBytesPerChecksum();
+    int checksumSize = checksum.getChecksumSize();
{noformat}
causes NPE if DataChecksum.newDataChecksum


> Additional unit tests for FSDataset
> -----------------------------------
>
>                 Key: HDFS-827
>                 URL: https://issues.apache.org/jira/browse/HDFS-827
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: data-node, test
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hdfs-827.txt
>
>
> FSDataset doesn't currently have a unit-test that tests it in isolation of 
> the DN or a cluster. A test specifically for this class will be helpful for 
> developing HDFS-788

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to