Aman Poonia created HBASE-28928: ----------------------------------- Summary: Handle NPE in Split/Merge table when quota is disabled Key: HBASE-28928 URL: https://issues.apache.org/jira/browse/HBASE-28928 Project: HBase Issue Type: Bug Components: proc-v2 Affects Versions: 2.5.8 Reporter: Aman Poonia Assignee: Aman Poonia
Currently when doing splits or merge we notigy quota manager about the same. But if quota is not enabled we will get a null on below below call {code:java} // code placeholder env.getMasterServices().getMasterQuotaManager() {code} So the below two lines will throw unexpected exception which ideally can be handled. {code:java} // code placeholder env.getMasterServices().getMasterQuotaManager().onRegionSplit(this.getParentRegion()); {code} {code:java} // code placeholder env.getMasterServices().getMasterQuotaManager().onRegionMerged(this.mergedRegion); {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)