Karthik Ranganathan created HBASE-7105:
------------------------------------------
Summary: RS throws NPE on forcing compaction from HBase shell on a
single bulk imported file.
Key: HBASE-7105
URL: https://issues.apache.org/jira/browse/HBASE-7105
Project: HBase
Issue Type: Bug
Components: regionserver
Reporter: Karthik Ranganathan
Assignee: Karthik Ranganathan
In StoreFile, we have:
private AtomicBoolean majorCompaction = null;
In StoreFile.open(), we do:
b = metadataMap.get(MAJOR_COMPACTION_KEY);
if (b != null) {
// init majorCompaction variable
}
Because the file was bulk imported, this is never initialized. Any subsequent
call to isMajorCompaction() NPE's.
Fix is to initialize it to false.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira