Skip to content

HBASE-22615 Make TestChoreService more robust to timing - #328

Closed
busbey wants to merge 1 commit into
apache:masterfrom
busbey:HBASE-22615
Closed

HBASE-22615 Make TestChoreService more robust to timing#328
busbey wants to merge 1 commit into
apache:masterfrom
busbey:HBASE-22615

Conversation

@busbey

Copy link
Copy Markdown
Contributor
  • phrase fudge factor "deltas" in terms of the original period
  • increase the delta allowed for chore timing from 5% to 20%
  • improve some assertions

* phrase fudge factor "deltas" in terms of the original period
* increase the delta allowed for chore timing from 5% to 20%
* improve some assertions
Change-Id: I35de83846e1f052a6f534226b6350f7790679e18
@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
0reexec118Docker mode activated.
_ Prechecks _
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 1 new or modified test files.
_ master Compile Tests _
+1mvninstall303master passed
+1compile24master passed
+1checkstyle25master passed
+1shadedjars301branch has no errors when building our shaded downstream artifacts.
+1findbugs42master passed
+1javadoc21master passed
_ Patch Compile Tests _
+1mvninstall269the patch passed
+1compile23the patch passed
+1javac23the patch passed
+1checkstyle24the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedjars279patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck867Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1findbugs49the patch passed
+1javadoc19the patch passed
_ Other Tests _
+1unit159hbase-common in the patch passed.
+1asflicense11The patch does not generate ASF License warnings.
2857
SubsystemReport/Notes
DockerClient=18.09.5 Server=18.09.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-328/1/artifact/out/Dockerfile
GITHUB PR#328
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 3c3c7984dc11 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionmaster / 6d08ffc
mavenversion: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Default Java1.8.0_181
findbugsv3.1.11
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-328/1/testReport/
Max. process+thread count252 (vs. ulimit of 10000)
modulesC: hbase-common U: hbase-common
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-328/1/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@busbey

Copy link
Copy Markdown
ContributorAuthor

before this change it takes me ~10 runs to get a failure. after it so far I've gotten through 25.

@busbey

Copy link
Copy Markdown
ContributorAuthor

have now gotten through 100 additional runs with this patch in place.

@ReiddddddReidddddd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@the-sakthi

Copy link
Copy Markdown
Member

+1 from my side as well, Sean!

@busbey

Copy link
Copy Markdown
ContributorAuthor

thanks folks!

asfgit pushed a commit that referenced this pull request Jun 22, 2019
* phrase fudge factor "deltas" in terms of the original period
* increase the delta allowed for chore timing from 5% to 20%
* improve some assertions
Closes#328
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Sakthi <sakthivel.azhaku@gmail.com>
(cherry picked from commit 9aee88e)
@busbey
busbey deleted the HBASE-22615 branch June 22, 2019 06:15
asfgit pushed a commit that referenced this pull request Jun 22, 2019
* phrase fudge factor "deltas" in terms of the original period
* increase the delta allowed for chore timing from 5% to 20%
* improve some assertions
Closes#328
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Sakthi <sakthivel.azhaku@gmail.com>
(cherry picked from commit 9aee88e)
asfgit pushed a commit that referenced this pull request Jun 22, 2019
* phrase fudge factor "deltas" in terms of the original period
* increase the delta allowed for chore timing from 5% to 20%
* improve some assertions
Closes#328
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Sakthi <sakthivel.azhaku@gmail.com>
(cherry picked from commit 9aee88e)
asfgit pushed a commit that referenced this pull request Jun 22, 2019
* phrase fudge factor "deltas" in terms of the original period
* increase the delta allowed for chore timing from 5% to 20%
* improve some assertions
Closes#328
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Sakthi <sakthivel.azhaku@gmail.com>
(cherry picked from commit 9aee88e)
asfgit pushed a commit that referenced this pull request Jun 22, 2019
* phrase fudge factor "deltas" in terms of the original period
* increase the delta allowed for chore timing from 5% to 20%
* improve some assertions
Closes#328
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Sakthi <sakthivel.azhaku@gmail.com>
(cherry picked from commit 9aee88e)
asfgit pushed a commit that referenced this pull request Jun 22, 2019
* phrase fudge factor "deltas" in terms of the original period
* increase the delta allowed for chore timing from 5% to 20%
* improve some assertions
Closes#328
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Sakthi <sakthivel.azhaku@gmail.com>
(cherry picked from commit 9aee88e)
asfgit pushed a commit that referenced this pull request Jun 22, 2019
* phrase fudge factor "deltas" in terms of the original period
* increase the delta allowed for chore timing from 5% to 20%
* improve some assertions
Closes#328
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Sakthi <sakthivel.azhaku@gmail.com>
(cherry picked from commit 9aee88e)
wchevreuil pushed a commit to wchevreuil/hbase that referenced this pull request Jul 3, 2019
* phrase fudge factor "deltas" in terms of the original period
* increase the delta allowed for chore timing from 5% to 20%
* improve some assertions
Closesapache#328
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Sakthi <sakthivel.azhaku@gmail.com>
(cherry picked from commit 9aee88e)
wchevreuil added a commit to wchevreuil/hbase that referenced this pull request Oct 28, 2019
1) Could you add a unit test with the recovered edits archiving enabled but has hbase.wal.dir set to a different directory? I think we could still validate your fix by seeing that the recovered.edits are in the hbase.wal.dir directory instead of the normal archive directory.
> Added testArchiveRecoveredEditsReplay on TestHRegion, where recovered edits are created with hbase.region.archive.recovered.edits as true and wal dir set to a different dir in the same FS as root dir;
2) A comment would help here since we're using this method that is for "storeFiles" for something that isn't a storefile.
> Added further explanation for the if structure on line apache#328 of HFileArchive.
3) What happens if I give hbase.wal.dir=hdfs://127.0.0.1:8020/nested/hbase/wals. This logic breaks, right?
> Switched for using Path accordingly.
Checkstyles and Javadoc issues fixed.
Additional UTs added in TestHFuleArchiving, testing for different combinations of wald dir and root dir settings.
infraio pushed a commit to infraio/hbase that referenced this pull request Aug 17, 2020
* phrase fudge factor "deltas" in terms of the original period
* increase the delta allowed for chore timing from 5% to 20%
* improve some assertions
Closesapache#328
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Sakthi <sakthivel.azhaku@gmail.com>
(cherry picked from commit 9aee88e)
symat pushed a commit to symat/hbase that referenced this pull request Feb 17, 2021
* phrase fudge factor "deltas" in terms of the original period
* increase the delta allowed for chore timing from 5% to 20%
* improve some assertions
Closesapache#328
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Sakthi <sakthivel.azhaku@gmail.com>
(cherry picked from commit 9aee88e)
(cherry picked from commit 8dde7d2)
Change-Id: Ife616d4b5124d44471912d370ec443e7feede835
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@busbey@Apache-HBase@the-sakthi@Reidddddd