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 02:55:47 UTC

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

Shrijeet Paliwal created HBASE-9200:
---------------------------------------

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


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