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

Coprocessor exec result Map is not thread safe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.92.2, 0.94.0, 0.95.2
    • 0.94.2
    • Client, Coprocessors
    • hadoop1.0.2,hbase0.94,jdk1.6

    • Reviewed
    • coprocessor

    Description

      I develop a coprocessor program ,but found some different results in repeated tests.for example,normally,the result's size is 10.but sometimes it appears 9.
      I read the HTable.java code,found a TreeMap(thread-unsafe) be used in multithreading environment.It cause the bug happened

      Attachments

        Issue Links

          Activity

            People

              kirayuan Kang Yuan
              kirayuan Kang Yuan
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 168h
                  168h
                  Remaining:
                  Remaining Estimate - 168h
                  168h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified