Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-1350

hbase Result.binarySearch is found to be problematic in concurrent environments

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • v1.4.0, v1.5.0
    • None
    • None

    Description

      in hbase early 0.98 versions,

      protected int binarySearch(final Cell [] kvs,
      final byte [] family, final int foffset, final int flength,
      final byte [] qualifier, final int qoffset, final int qlength) {

      uses a static buffer, which might be problematic in concurrent environments. The hbase community fixed this in https://issues.apache.org/jira/browse/HBASE-9334, however it is quite possible our users' deployed version does not include this patch.

      we'll change workaround this by not calling related method

      Attachments

        Activity

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

          People

            mahongbin Hongbin Ma
            mahongbin Hongbin Ma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment