Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scanner throws exception from background thread. #736

Closed
keith-turner opened this issue Oct 30, 2018 · 0 comments
Closed

Scanner throws exception from background thread. #736

keith-turner opened this issue Oct 30, 2018 · 0 comments
Labels
enhancement This issue describes a new feature, improvement, or optimization.
Milestone

Comments

@keith-turner
Copy link
Contributor

While working on #718, an IT was iterating over a scanner that was created from a closed AccumuloClient. This caused the following code to throw an exception from a background thread.

https://github.com/apache/accumulo/blob/rel/1.9.2/core/src/main/java/org/apache/accumulo/core/client/impl/ScannerIterator.java#L162

Since the exception was from a background thread, I had no idea what code in the IT was using the scanner. I tried changing the code to wrap the exception from the background thread, but that broke other code looking for specific exceptions like IsolationException.

Need to do something to improve debugging while not breaking anything.

@ctubbsii ctubbsii added v2.0.0 enhancement This issue describes a new feature, improvement, or optimization. labels Oct 30, 2018
keith-turner added a commit to keith-turner/accumulo that referenced this issue Jan 10, 2019
@ctubbsii ctubbsii added this to the 2.0.0 milestone Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue describes a new feature, improvement, or optimization.
Projects
None yet
Development

No branches or pull requests

2 participants