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

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

Thanks [~allan163]. Decided to go with *estimatedSizeOfCell,* as it will 
already use *heapSize* implementation of the cell internally.

> 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, 
> HBASE-21185.master.002.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