vineet4008 commented on code in PR #6109:
URL: https://github.com/apache/hbase/pull/6109#discussion_r1688317415


##########
hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/regionserver/TestCompactionTool.java:
##########
@@ -65,6 +79,7 @@ public void setUp() throws Exception {
   public void tearDown() throws Exception {
     this.testUtil.shutdownMiniCluster();
     testUtil.cleanupTestDir();
+    ChunkCreator.instance = null;

Review Comment:
   Setting it to null after shutdown of hbase cluster in test, so that it is 
not available for next test case in the file. Memory blocks of ChunkCreator 
should be collected by GC as cluster is shutdown.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to