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

BatchScanner sometimes logs error when closed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 1.3.5-incubating, 1.4.0
    • None
    • client
    • None

    Description

      The batch scanner has a threadpool. When the batch scanner is closed it calls shutdownNow() on this threadpool, which interrupts all of the threads. If a user does not read all data from a batch scanner and calls close, thens its likely that the background threads are still busy and will be interrupted. This is a normal course of business, so there is no need to log an exception for these interrupted excpetions. Some places in the code do log an error when these exceptions occur.

      One place is where the background code calls UtilWaitThread.sleep(). There may be other places.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kturner Keith Turner
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: