[
https://issues.apache.org/jira/browse/HADOOP-10865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15149717#comment-15149717
]
Masatake Iwasaki commented on HADOOP-10865:
-------------------------------------------
Thanks for the update, [~szetszwo]. {{TestDataChecksum#testBulkOps}} fails in
non-native profile. There seems to be a problem in calculation of {{errPos}} in
{{DataChecksum#verifyChunked}}.
{noformat}
java.lang.AssertionError: expected:<512> but was:<511>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at org.junit.Assert.assertEquals(Assert.java:542)
at
org.apache.hadoop.util.TestDataChecksum$Harness.testCorrectness(TestDataChecksum.java:120)
at
org.apache.hadoop.util.TestDataChecksum.doBulkTest(TestDataChecksum.java:132)
at
org.apache.hadoop.util.TestDataChecksum.testBulkOps(TestDataChecksum.java:51)
{noformat}
> Add a Crc32 chunked verification benchmark for both directly and non-directly
> buffer cases
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-10865
> URL: https://issues.apache.org/jira/browse/HADOOP-10865
> Project: Hadoop Common
> Issue Type: Improvement
> Components: util
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Priority: Minor
> Labels: BB2015-05-TBR
> Attachments: HADOOP-10865.002.patch, c10865_20140717.patch,
> c10865_20160216.patch
>
>
> Currently, it is not easy to compare Crc32 chunked verification
> implementations. Let's add a benchmark.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)