accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhutchis <...@git.apache.org>
Subject [GitHub] accumulo pull request: ACCUMULO-4318 Made writers and scanners aut...
Date Fri, 27 May 2016 21:25:15 GMT
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message