Skip to content

Conversation

@Manno15
Copy link
Contributor

@Manno15 Manno15 commented Nov 6, 2020

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

@Manno15 Manno15 closed this Jun 30, 2021
@Manno15 Manno15 deleted the acc_1753_admin_stop branch June 30, 2021 20:11
@Manno15 Manno15 restored the acc_1753_admin_stop branch July 1, 2021 23:29
@Manno15 Manno15 reopened this Jul 1, 2021
@ctubbsii
Copy link
Member

Superseded by #2732

@ctubbsii ctubbsii closed this May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants