Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-3509

Scanner lock cause Tablet lock, hence preventing idle scans from being swept, hence blocking SimpleTimer thread

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.6.5, 1.7.1, 1.8.0
    • tserver
    • None

    Description

      Synchronization with Tablet$Scanner via a read() will block close() being called via the sweep method in TabletServer. As a result, the SimpleTimer thread does not continue, and idle threads grow until the scan completes.

      My patch, which is forthcoming, converts synchronized methods to use a fair lock. If the lock is held by a read call, the close call will attempt to obtain it, time out, and return indicating a close was not successful. The sweep will continue, and the SimpleTimer thread will respawn later, attempting closure on those Tablets at a later time.

      Attachments

        1. ACCUMULO-3509-1.6.patch
          32 kB
          Josh Elser

        Issue Links

          Activity

            People

              phrocker Marc Parisi
              phrocker Marc Parisi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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