[
https://issues.apache.org/jira/browse/HBASE-23976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17066100#comment-17066100
]
Michael Stack commented on HBASE-23976:
---------------------------------------
Seems fine on branch-2:
{code}
$ ../dev-support/adhoc_run_tests/adhoc_run_tests.sh --repeat 10 --log-output
/tmp/ TestVerifyBucketCacheFile
adding module '.' to set.
Attempt 1
Attempt 2
Attempt 3
Attempt 4
Attempt 5
Attempt 6
Attempt 7
Attempt 8
Attempt 9
Attempt 10
{code}
Had to do the below to get the above:
{code}
diff --git a/dev-support/adhoc_run_tests/adhoc_run_tests.sh
b/dev-support/adhoc_run_tests/adhoc_run_tests.sh
index 1dedcb1c45..8642c65e28 100755
--- a/dev-support/adhoc_run_tests/adhoc_run_tests.sh
+++ b/dev-support/adhoc_run_tests/adhoc_run_tests.sh
@@ -96,6 +96,7 @@ for attempt in $(seq "${attempts}"); do
echo "Attempt ${attempt}" >&2
echo_run_redirect "${output}/mvn_test.log" mvn --batch-mode
-Dmaven.repo.local="${maven_repo}" \
-Dtest="${tests// /,}" \
+ -Dhadoop.profile=3.0 \
-Dsurefire.rerunFailingTestsCount=0
-Dsurefire.parallel.forcedTimeout="${force_timeout}" \
-Dsurefire.shutdown=kill -DtrimStackTrace=false -am
"${mvn_module_arg[@]}" \
-DforkCount="${fork_count}" package
{code}
> [flakey test] TestVerifyBucketCacheFile
> ---------------------------------------
>
> Key: HBASE-23976
> URL: https://issues.apache.org/jira/browse/HBASE-23976
> Project: HBase
> Issue Type: Test
> Components: regionserver, test
> Affects Versions: 3.0.0
> Reporter: Nick Dimiduk
> Priority: Major
>
> I see sporadic failures in this test class. Sometimes a failure on
> {{assertTrue(file.delete())}}, an inconsistent annoyance. However, this one
> looks more sinister.
> {noformat}
> 2020-03-12 12:11:35,059 ERROR [Time-limited test] bucket.BucketCache(312):
> Can't restore from
> file[/Users/ndimiduk/repos/apache/hbase/hbase-server/target/test-data/5e5c5f5f-d5c2-94b2-8ce9-cf561f4f19f7/bucket.persistence]
> because of
> java.io.IOException: Mismatch of checksum! The persistent checksum is
> ���Bk���2�Ӏk, but the calculate checksum is
> �o���r��w��c��4
> at
> org.apache.hadoop.hbase.io.hfile.bucket.PersistentIOEngine.verifyFileIntegrity(PersistentIOEngine.java:55)
> at
> org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.parsePB(BucketCache.java:1158)
> at
> org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(BucketCache.java:1106)
> at
> org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.<init>(BucketCache.java:310)
> at
> org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.<init>(BucketCache.java:258)
> at
> org.apache.hadoop.hbase.io.hfile.bucket.TestVerifyBucketCacheFile.testRetrieveFromFile(TestVerifyBucketCacheFile.java:116)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)