Skip to content

HBASE-22072 High read/write intensive regions may cause long crash - #214

Merged
ramkrish86 merged 2 commits into
apache:masterfrom
ramkrish86:mymaster
May 8, 2019
Merged

HBASE-22072 High read/write intensive regions may cause long crash#214
ramkrish86 merged 2 commits into
apache:masterfrom
ramkrish86:mymaster

Conversation

@ramkrish86

Copy link
Copy Markdown
Contributor

Allows either updateReaders() or close() to happen at the same time. The JIRA reporter has tested the fix provided.

@ramkrish86ramkrish86 self-assigned this May 3, 2019
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec21Docker 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 _
+1mvninstall236master passed
+1compile53master passed
+1checkstyle68master passed
+1shadedjars263branch has no errors when building our shaded downstream artifacts.
+1findbugs215master passed
+1javadoc32master passed
_ Patch Compile Tests _
+1mvninstall232the patch passed
+1compile53the patch passed
+1javac53the patch passed
-1checkstyle68hbase-server: The patch generated 1 new + 33 unchanged - 0 fixed = 34 total (was 33)
+1whitespace0The patch has no whitespace issues.
+1shadedjars262patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck486Patch does not cause any errors with Hadoop 2.7.4 or 3.0.0.
+1findbugs228the patch passed
+1javadoc34the patch passed
_ Other Tests _
+1unit8187hbase-server in the patch passed.
+1asflicense28The patch does not generate ASF License warnings.
10604
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-214/1/artifact/out/Dockerfile
GITHUB PR#214
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 2b57849c3013 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionmaster / 0c0d595
mavenversion: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Default Java1.8.0_181
findbugsv3.1.11
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-214/1/artifact/out/diff-checkstyle-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-214/1/testReport/
Max. process+thread count4993 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-214/1/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@carp84

Copy link
Copy Markdown
Member

Please check and fix the checkstyle issue as reported.

The change itself looks good but I need some time to read and fully understand the issue and solution as discussed in HBASE-22072. Will be back once done. Thanks.

@anoopsjohnanoopsjohn 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.

Pls address the volatile comment and then we are good to go.. I think this will solve many strange issues that we were seeing with the new way of delayed compacted files cleanup. Good one.

@ramkrish86

Copy link
Copy Markdown
ContributorAuthor

Made the 'closing' variable to volatile. fixed checkstyle issue and moved the test to a new class.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
0reexec21Docker mode activated.
_ Prechecks _
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 2 new or modified test files.
_ master Compile Tests _
+1mvninstall241master passed
+1compile52master passed
+1checkstyle68master passed
+1shadedjars263branch has no errors when building our shaded downstream artifacts.
+1findbugs180master passed
+1javadoc30master passed
_ Patch Compile Tests _
+1mvninstall236the patch passed
+1compile53the patch passed
+1javac53the patch passed
+1checkstyle67the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedjars254patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck492Patch does not cause any errors with Hadoop 2.7.4 or 3.0.0.
+1findbugs183the patch passed
+1javadoc30the patch passed
_ Other Tests _
+1unit8170hbase-server in the patch passed.
+1asflicense23The patch does not generate ASF License warnings.
10442
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-214/2/artifact/out/Dockerfile
GITHUB PR#214
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux acf73fbc5e02 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionmaster / 45bcb4f
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-214/2/testReport/
Max. process+thread count4983 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-214/2/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@ramkrish86

Copy link
Copy Markdown
ContributorAuthor

Seems all good now in terms of QA.

@anoopsjohnanoopsjohn 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

@ramkrish86
ramkrish86 merged commit 46fe983 into apache:masterMay 8, 2019
ramkrish86 pushed a commit that referenced this pull request May 8, 2019
)
* HBASE-22072 High read/write intensive regions may cause long crash
recovery
* Make the 'closing' variable as volatile and move the test case to
standlone class
ramkrish86 pushed a commit that referenced this pull request May 8, 2019
)
* HBASE-22072 High read/write intensive regions may cause long crash
recovery
* Make the 'closing' variable as volatile and move the test case to
standlone class
ramkrish86 pushed a commit that referenced this pull request May 8, 2019
)
* HBASE-22072 High read/write intensive regions may cause long crash
recovery
* Make the 'closing' variable as volatile and move the test case to
standlone class
ramkrish86 pushed a commit that referenced this pull request May 8, 2019
)
* HBASE-22072 High read/write intensive regions may cause long crash
recovery
* Make the 'closing' variable as volatile and move the test case to
standlone class
infraio pushed a commit to infraio/hbase that referenced this pull request Aug 17, 2020
…pache#214)
* HBASE-22072 High read/write intensive regions may cause long crash
recovery
* Make the 'closing' variable as volatile and move the test case to
standlone class
symat pushed a commit to symat/hbase that referenced this pull request Feb 17, 2021
…pache#214)
* HBASE-22072 High read/write intensive regions may cause long crash
recovery
* Make the 'closing' variable as volatile and move the test case to
standlone class
(cherry picked from commit 8d56693)
Change-Id: I3bd6e4f030458516aebe3c7adb96712cbef16b20
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.

5 participants

@ramkrish86@Apache-HBase@carp84@anoopsjohn@Apache9