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

HFilePrettyPrinter finds incorrect largest row

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.94.10
    • Fix Version/s: 0.98.0, 0.95.2, 0.94.11
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: