Skip to content

Conversation

@wchevreuil
Copy link
Contributor

No description provided.

try (WALEntryStream entryStream =
new WALEntryStream(logQueue, fs, conf, lastReadPosition, metrics)) {
while (isReaderRunning()) { // loop here to keep reusing stream while we can
if (!source.isPeerEnabled()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This is just a safeguard to prevent accumulation of batches right? No other implications of the patch that I can think of.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah and the accumulation of batches can lead to major problems, because it's been accounted on overall buffer usage by ReplicationSourceManager. If buffer usage reaches the quota limits, replication becomes stuck. And since we check the buffer usage at ReplicationSourceManager, that means a single buffer for all peers. If one peer is disabled, while other source peers were supposed to continue to get replicated edits, those source would also be stuck because of this, until an RS restart.

Copy link
Contributor

Choose a reason for hiding this comment

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

Makes sense. I've been following the jira updates on the issue that Josh created.

@infraio infraio added the backport This PR is a back port of some issue or issues already committed to master label Aug 5, 2020
Copy link
Contributor

@virajjasani virajjasani left a comment

Choose a reason for hiding this comment

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

+1

@virajjasani
Copy link
Contributor

Let me re-trigger the build, it should work now.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 6m 39s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+1 💚 mvninstall 9m 50s branch-1 passed
+1 💚 compile 0m 41s branch-1 passed with JDK v1.8.0_262
+1 💚 compile 0m 44s branch-1 passed with JDK v1.7.0_272
+1 💚 checkstyle 1m 43s branch-1 passed
+1 💚 shadedjars 3m 3s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 47s branch-1 passed with JDK v1.8.0_262
+1 💚 javadoc 0m 40s branch-1 passed with JDK v1.7.0_272
+0 🆗 spotbugs 2m 59s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 2m 56s branch-1 passed
_ Patch Compile Tests _
+1 💚 mvninstall 1m 53s the patch passed
+1 💚 compile 0m 41s the patch passed with JDK v1.8.0_262
+1 💚 javac 0m 41s the patch passed
+1 💚 compile 0m 43s the patch passed with JDK v1.7.0_272
+1 💚 javac 0m 43s the patch passed
+1 💚 checkstyle 1m 29s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 shadedjars 2m 49s patch has no errors when building our shaded downstream artifacts.
+1 💚 hadoopcheck 4m 38s Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 💚 javadoc 0m 31s the patch passed with JDK v1.8.0_262
+1 💚 javadoc 0m 41s the patch passed with JDK v1.7.0_272
+1 💚 findbugs 2m 51s the patch passed
_ Other Tests _
-1 ❌ unit 125m 5s hbase-server in the patch failed.
+1 💚 asflicense 0m 36s The patch does not generate ASF License warnings.
172m 28s
Reason Tests
Failed junit tests hadoop.hbase.replication.TestReplicationDisableInactivePeer
hadoop.hbase.master.TestRestartCluster
Subsystem Report/Notes
Docker Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2197/2/artifact/out/Dockerfile
GITHUB PR #2197
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 56586d37a424 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2197/out/precommit/personality/provided.sh
git revision branch-1 / 2c047ea
Default Java 1.7.0_272
Multi-JDK versions /usr/lib/jvm/zulu-8-amd64:1.8.0_262 /usr/lib/jvm/zulu-7-amd64:1.7.0_272
unit https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2197/2/artifact/out/patch-unit-hbase-server.txt
Test Results https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2197/2/testReport/
Max. process+thread count 4407 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2197/2/console
versions git=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@wchevreuil
Copy link
Contributor Author

Checking on the UT failures.

@wchevreuil
Copy link
Contributor Author

Test failures look unrelated, have those tests passing, locally.

@wchevreuil wchevreuil merged commit 2fd5873 into apache:branch-1 Aug 5, 2020
@wchevreuil wchevreuil deleted the HBASE-24807 branch August 10, 2021 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a back port of some issue or issues already committed to master

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants