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

HFilePrettyPrinter finds incorrect largest row

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment