You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Shrijeet Paliwal (JIRA)" <ji...@apache.org> on 2013/08/13 03:05:47 UTC

[jira] [Updated] (HBASE-9200) HFilePrettyPrinter finds incorrect largest row

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

Shrijeet Paliwal updated HBASE-9200:
------------------------------------

    Attachment: HBASE-9200.1.patch

Attaching patch. 
                
> HFilePrettyPrinter finds incorrect largest row
> ----------------------------------------------
>
>                 Key: HBASE-9200
>                 URL: https://issues.apache.org/jira/browse/HBASE-9200
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.94.10
>            Reporter: Shrijeet Paliwal
>            Priority: Minor
>         Attachments: HBASE-9200.1.patch
>
>
> When one specifies 'printStats' option to HFilePrettyPrinter one of the findings in the report is key row key of the largest row in HFile. Due to a bug it prints in correct row.
> {noformat}
>       if (curRowBytes > maxRowBytes && prevKV != null) {
>         biggestRow = prevKV.getRow();
>       }
> {noformat}
> Above piece should update maxRowBytes to curRowBytes. 

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