Manno15 opened a new pull request #1770:
URL: https://github.com/apache/accumulo/pull/1770


   This is a work in progess to get opinions and ideas on how to tackle issue 
#1753. Trying to stop the last tserver using the `Admin.class` will hang 
indefinitely as detailed in 
[ACCUMULO-3898](https://issues.apache.org/jira/browse/ACCUMULO-3898). 
Currently, the only way to get around this and actually shutdown the tserver 
will be to make `force=true` when calling the stop command. 
   
   The idea with these particular changes is to simply check and log an error 
if there is only one tserver left (therefore hosting the root table) before 
ever attempting to shut it down. Hopefully this will mitigate this issue while 
we discuss a more permanent solution. I also included an updated IT from the 
Jira ticket that I have been using to test in case anyone else wants to use it 
or has ideas on improving it. 
   
   There are some issues that I have ran into so far. For instance, 
`ShutdownTserver.java` will fail now since it only uses one tserver and will 
always return prematurely. Another issue I noticed is when I tried to force the 
shutdown I could never get the IT to pass. It would get stuck on the 
verification step and eventually timeout. 
   
   


-- 
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]


Reply via email to