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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.4.0, v1.5.0
    • Component/s: None
    • Labels:
      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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: