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

[89-fb] HTableMultiplexer to use executor

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.89-fb
    • 0.89-fb
    • None
    • None

    Description

      HtableMultiplexer is creating manually HTableFlushWorker thread for each regionserver. Changing this to use ScheduledExecutorService. Also this will help us get rid of the Thread.sleep() in HTableFlushWorker.run() and make the code smaller and easier to read.

      Add a unit test which will spawn 10 client threads which will do 10k puts each concurrently and check that when we do get() we get the data back.

      Attachments

        1. HTableMultiplexer_executor.patch
          16 kB
          Adela Maznikar

        Activity

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

          People

            adela Adela Maznikar
            adela Adela Maznikar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment