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

Batch Scanner can get stuck when external thread closes scanner

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.5-incubating, 1.4.0
    • Fix Version/s: 1.4.1, 1.5.0
    • Component/s: client
    • Labels:

      Description

      Scenario- client is using batch scanner to run queries with complex server side iterators. They run long. User has external thread which determines thread is running long, so that thread calls close on the batch scanner. Query threads exit nicely, but there is a thread which is constantly polling an internal queue. It only breaks out of that loop if there is a next key or an error thrown. If neither occur, it continues to poll. We should probably have an exit condition get set on close() which is used in that query loop.

        Attachments

          Activity

            People

            • Assignee:
              kturner Keith Turner
              Reporter:
              vines John Vines
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: