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

Wellington Chevreuil commented on HBASE-21185:
----------------------------------------------

Thanks [~allan163]. Indeed, had not counted the TS and wasn't aware of 
CellUtils. Just realised there's also *PrivateCellUtil.estimatedSizeOfCell* 
that uses *getSumOfCellElementLengths.* Would you think that should be ok, to 
use that, instead of changing access modifier from getSumOfCellElementLengths?

 

> WALPrettyPrinter: Additional useful info to be printed by wal printer tool, 
> for debugability purposes
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-21185
>                 URL: https://issues.apache.org/jira/browse/HBASE-21185
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Wellington Chevreuil
>            Assignee: Wellington Chevreuil
>            Priority: Trivial
>         Attachments: HBASE-21185.master.001.patch
>
>
> *WALPrettyPrinter* is very useful for troubleshooting wal issues, such as 
> faulty replication sinks. An useful information one might want to track is 
> the size of a single WAL entry edit, as well as size for each edit cell. Am 
> proposing a patch that adds calculations for these two, as well an option to 
> seek straight to a given position on the WAL file being analysed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to