Skip to content

Commit

Permalink
HBASE-23359 RS going down with NPE when splitting a region with compa…
Browse files Browse the repository at this point in the history
…ction disabled in branch-1 (#899)

Signed-off-by: Balazs Meszaros <[email protected]>
Signed-off-by Anoop Sam John <[email protected]>
  • Loading branch information
brfrn169 committed Dec 8, 2019
1 parent 75e044f commit c612a2e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,9 @@ public void rejectedExecution(Runnable runnable, ThreadPoolExecutor pool) {
if (runnable instanceof CompactionRunner) {
CompactionRunner runner = (CompactionRunner)runnable;
LOG.debug("Compaction Rejected: " + runner);
runner.store.cancelRequestedCompaction(runner.compaction);
if (runner.compaction != null) {
runner.store.cancelRequestedCompaction(runner.compaction);
}
}
}
}
Expand Down

0 comments on commit c612a2e

Please sign in to comment.