keith-turner opened a new pull request, #5318:
URL: https://github.com/apache/accumulo/pull/5318
When the close the accumulo client the following could happen.
1. THREAD1 sets closed atomic boolean to true in client as part of close()
call
2. THREAD2 a background thread in transport pool tries to read property
from client and gets exception because closed is true
3. THREAD1 shuts down the transport pool object as part of closing client
This change avoids throwing an exception in step 2 above. This bug was
causing MetaFateOpsCommandsIT to sometimes fail because it would have a random
exception in the json the command was printing.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]