[
https://issues.apache.org/jira/browse/HBASE-29899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiao Liu updated HBASE-29899:
-----------------------------
Description:
Running \{{TestRowStatisticsCompactionObserver}}, we got an NPE, logs:
{code:language=bash|borderStyle=solid|theme=RDark|linenumbers=true|collapse=false}
2026-02-15T01:09:47,198 INFO [RS:0;192.168.124.12:63328-shortCompactions-0]
regionserver.CompactSplit$CompactionRunner(673): Completed compaction
Request=regionName=test-table,,1771088974440.75096b3adf07cf4b114a8db41022081c.,
storeName=0, fileCount=10, fileSize=442.4 K (34.7 K, 47.9 K, 43.2 K, 55.7 K,
79.4 K, 9.7 K, 41.8 K, 59.5 K, 65.3 K, 5.1 K), priority=1, time=1771088986731;
duration=0sec
2026-02-15T01:09:47,198 DEBUG [RS:0;192.168.124.12:63328-shortCompactions-0]
regionserver.CompactSplit$CompactionRunner(705): Status
compactionQueue=(longCompactions=0:shortCompactions=0), splitQueue=0
2026-02-15T01:09:47,198 DEBUG [RS:0;192.168.124.12:63328-shortCompactions-0]
regionserver.CompactSplit$CompactionRunner(723): Remove under compaction mark
for store: 75096b3adf07cf4b114a8db41022081c:0
Checking stats
2026-02-15T01:09:47,740 INFO [main] hbase.HBaseTestingUtil(1063): Shutting down
minicluster
java.lang.NullPointerException: Cannot invoke
"java.lang.Boolean.booleanValue()" because "lastIsMajor" is null
{code}
was:as title
> TestRowStatisticsCompactionObserver fails with NPE
> --------------------------------------------------
>
> Key: HBASE-29899
> URL: https://issues.apache.org/jira/browse/HBASE-29899
> Project: HBase
> Issue Type: Improvement
> Components: test
> Affects Versions: 3.0.0-beta-1, 2.6.4, 2.5.13
> Reporter: Xiao Liu
> Assignee: Xiao Liu
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.7.0, 3.0.0-beta-2, 2.6.5, 2.5.14
>
>
> Running \{{TestRowStatisticsCompactionObserver}}, we got an NPE, logs:
> {code:language=bash|borderStyle=solid|theme=RDark|linenumbers=true|collapse=false}
> 2026-02-15T01:09:47,198 INFO [RS:0;192.168.124.12:63328-shortCompactions-0]
> regionserver.CompactSplit$CompactionRunner(673): Completed compaction
> Request=regionName=test-table,,1771088974440.75096b3adf07cf4b114a8db41022081c.,
> storeName=0, fileCount=10, fileSize=442.4 K (34.7 K, 47.9 K, 43.2 K, 55.7 K,
> 79.4 K, 9.7 K, 41.8 K, 59.5 K, 65.3 K, 5.1 K), priority=1,
> time=1771088986731; duration=0sec
> 2026-02-15T01:09:47,198 DEBUG [RS:0;192.168.124.12:63328-shortCompactions-0]
> regionserver.CompactSplit$CompactionRunner(705): Status
> compactionQueue=(longCompactions=0:shortCompactions=0), splitQueue=0
> 2026-02-15T01:09:47,198 DEBUG [RS:0;192.168.124.12:63328-shortCompactions-0]
> regionserver.CompactSplit$CompactionRunner(723): Remove under compaction mark
> for store: 75096b3adf07cf4b114a8db41022081c:0
> Checking stats
> 2026-02-15T01:09:47,740 INFO [main] hbase.HBaseTestingUtil(1063): Shutting
> down minicluster
> java.lang.NullPointerException: Cannot invoke
> "java.lang.Boolean.booleanValue()" because "lastIsMajor" is null
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)