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

Batch Scanner can get stuck when external thread closes scanner

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.5-incubating, 1.4.0
    • 1.4.1, 1.5.0
    • client

    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

            kturner Keith Turner
            vines John Vines
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: