Skip to content

Conversation

@ramkrish86
Copy link
Contributor

The leak is caused as said by @binlijin. The updateReaders() has already the memstoreScanners() list and so that is not getting closed.
We need to close the scanners if the close() has already happened. The test case added here helps to identify the problem. Without the patch the test fails and with patch the test passes.
@chenxu14 - Pls take a look if this will solve the problem.
@binlijin - I just realised that the memstoreScanners() were passed by the Hstore#notifyChangedReadersObservers() and not got from the updateReaders().

@binlijin
Copy link
Contributor

+1

@chenxu14
Copy link
Contributor

lgtm,Sir

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
💙 reexec 1m 49s Docker mode activated.
_ Prechecks _
💚 dupname 0m 0s No case conflicting files found.
💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
💚 @author 0m 0s The patch does not contain any @author tags.
💚 test4tests 0m 0s The patch appears to include 1 new or modified test files.
_ master Compile Tests _
💚 mvninstall 6m 1s master passed
💚 compile 0m 56s master passed
💚 checkstyle 1m 18s master passed
💚 shadedjars 4m 28s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 38s master passed
💙 spotbugs 4m 19s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 4m 17s master passed
_ Patch Compile Tests _
💚 mvninstall 5m 13s the patch passed
💚 compile 0m 59s the patch passed
💚 javac 0m 59s the patch passed
💚 checkstyle 1m 19s the patch passed
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 4m 44s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 17m 41s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚 javadoc 0m 39s the patch passed
💚 findbugs 4m 37s the patch passed
_ Other Tests _
💚 unit 156m 8s hbase-server in the patch passed.
💚 asflicense 0m 34s The patch does not generate ASF License warnings.
218m 38s
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-614/1/artifact/out/Dockerfile
GITHUB PR #614
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux b5419a7bb99f 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-614/out/precommit/personality/provided.sh
git revision master / c0e5c15
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-614/1/testReport/
Max. process+thread count 4315 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-614/1/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

@ramkrish86 ramkrish86 merged commit c0908d4 into apache:master Sep 13, 2019
infraio pushed a commit to infraio/hbase that referenced this pull request Aug 17, 2020
symat pushed a commit to symat/hbase that referenced this pull request Feb 17, 2021
(cherry picked from commit bf12348)

Change-Id: I2c7a1a01c88c362cb66beeb2c969b99b897638a4
Sign up for free to 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