Skip to content

HBASE-23696 Stop WALProcedureStore after migration finishes - #1050

Closed
saintstack wants to merge 1 commit into
apache:branch-2from
saintstack:HBASE-23696
Closed

HBASE-23696 Stop WALProcedureStore after migration finishes#1050
saintstack wants to merge 1 commit into
apache:branch-2from
saintstack:HBASE-23696

Conversation

@saintstack

Copy link
Copy Markdown
Contributor

No description provided.

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

LGTM, just a question regarding stopping it on the catch body. I had something similar in HBASE-23694 after observing the issues described there, but didn't enclose it in a try/catch.

throw new IOException("Failed to delete the WALProcedureStore migrated proc wal directory " +
procWALDir);
LOG.info("Migration of WALProcedureStore finished");
} catch (IOException ioe) {

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.

Do we need the catch, or could just stop it on the finally and let the IOE be thrown upwards?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Sorry @wchevreuil . I only now noticed you'd just put up a fix for the same thing.

On this line, I should have rethrown the caught exception. I wanted to pass in 'true' for abort if exception as opposed to 'false' for the finally block. I might be overthinking it since IIRC, if problem here, we'll crash out the Master. Let me resolve this in favor of yours.

@saintstack

Copy link
Copy Markdown
ContributorAuthor

Closing as dupe of HBASE-23696

@saintstack

Copy link
Copy Markdown
ContributorAuthor

s/HBASE-23696/HBASE-23694/

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 11sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-0 ⚠️test4tests0m 0sThe patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ branch-2 Compile Tests _
+1 💚mvninstall5m 52sbranch-2 passed
+1 💚compile1m 3sbranch-2 passed
+1 💚checkstyle1m 35sbranch-2 passed
+1 💚shadedjars4m 54sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 38sbranch-2 passed
+0 🆗spotbugs4m 27sUsed deprecated FindBugs config; considering switching to SpotBugs.
+1 💚findbugs4m 26sbranch-2 passed
_ Patch Compile Tests _
+1 💚mvninstall6m 31sthe patch passed
+1 💚compile1m 13sthe patch passed
+1 💚javac1m 13sthe patch passed
-1 ❌checkstyle1m 39shbase-server: The patch generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚shadedjars5m 10spatch has no errors when building our shaded downstream artifacts.
+1 💚hadoopcheck21m 29sPatch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚javadoc0m 41sthe patch passed
+1 💚findbugs4m 48sthe patch passed
_ Other Tests _
-1 ❌unit170m 12shbase-server in the patch failed.
+1 💚asflicense0m 28sThe patch does not generate ASF License warnings.
239m 44s
ReasonTests
Failed junit testshadoop.hbase.master.TestMasterNoCluster
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1050/1/artifact/out/Dockerfile
GITHUB PR#1050
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux ec8679021fd8 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/Base-PreCommit-GitHub-PR_PR-1050/out/precommit/personality/provided.sh
git revisionbranch-2 / ae95b1f
Default Java1.8.0_181
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1050/1/artifact/out/diff-checkstyle-hbase-server.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1050/1/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1050/1/testReport/
Max. process+thread count4979 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1050/1/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

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.

3 participants

@saintstack@Apache-HBase@wchevreuil