[ 
https://issues.apache.org/jira/browse/HBASE-8034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13596835#comment-13596835
 ] 

Ted Yu commented on HBASE-8034:
-------------------------------

{code}
+    // Estimate 98% of the file is data for old files.
+    this.diskDataSize = (b != null) ? Bytes.toLong(b) : 
(long)(this.reader.length() * 0.98);
{code}
@Sergey:
Can you clarify what file versions are considered 'old files' ?
                
> record on-disk data size for store file and make it available during writing
> ----------------------------------------------------------------------------
>
>                 Key: HBASE-8034
>                 URL: https://issues.apache.org/jira/browse/HBASE-8034
>             Project: HBase
>          Issue Type: Task
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>            Priority: Minor
>         Attachments: HBASE-8034-v0.patch
>
>
> To better estimate the size of data in the file, and to be able to split 
> files intelligently during any multi-file compactor like stripe or level.

--
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

Reply via email to