hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rekha Joshi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-10908) On CompactionRequest, reader can be null on recalculateSize
Date Fri, 04 Apr 2014 06:20:17 GMT

     [ https://issues.apache.org/jira/browse/HBASE-10908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rekha Joshi updated HBASE-10908:
--------------------------------

    Attachment: HBASE-10908.1.patch

Attached patch.

> 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
>            Assignee: Rekha Joshi
>            Priority: Minor
>         Attachments: HBASE-10908.1.patch
>
>
> 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)

Mime
View raw message