Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-9200

HFilePrettyPrinter finds incorrect largest row

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.94.10
    • 0.98.0, 0.95.2, 0.94.11
    • None
    • None
    • Reviewed

    Description

      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.

            if (curRowBytes > maxRowBytes && prevKV != null) {
              biggestRow = prevKV.getRow();
            }
      

      Above piece should update maxRowBytes to curRowBytes.

      Attachments

        1. HBASE-9200.1.patch
          0.6 kB
          Shrijeet Paliwal

        Activity

          People

            shrijeet Shrijeet Paliwal
            shrijeet Shrijeet Paliwal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: