Github user dhutchis commented on the pull request:
https://github.com/apache/accumulo/pull/104#issuecomment-222256568
One thought--- a client might open a BatchScanner in a try-with-resources
block but save a reference to `scanner.iterator()` and use that outside the
block. If so the client will fail because the BatchScanner will close the
query thread pool that the TabletServerBatchReader uses. It would be good to
advise users in the documents not to do this.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---