Rekha Joshi created HBASE-10908:
-----------------------------------

             Summary: On CompactionRequest, reader can be null on 
recalculateSize
                 Key: HBASE-10908
                 URL: https://issues.apache.org/jira/browse/HBASE-10908
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.96.0
            Reporter: Rekha Joshi
            Priority: Minor


Comment from Honghua Feng 
{code}
private void recalculateSize() {
  long sz = 0;
  for (StoreFile sf : this.filesToCompact) {
    sz += sf.getReader().length();
  }
  this.totalSize = sz;
}
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to