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

HTable#put improvements

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
    • Trivial
    • Resolution: Fixed
    • 0.95.0, 0.95.2
    • 0.94.7, 0.95.0, 0.95.2
    • Client
    • None
    • Reviewed

    Description

      3 points:

      • When doing a single put, we're creating an object by calling Arrays.asList
      • we're doing a size check every 10 put. Not doing it seems simpler, better and allows to share some code between a single put and a list of puts.
      • we could call flushCommits on empty write buffer, especially for someone using a lot of HTable instead of using a pool, as it's called in close().

      Attachments

        Activity

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

          People

            nkeywal Nicolas Liochon Assign to me
            nkeywal Nicolas Liochon
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment