Skip to content

Commit

Permalink
Modify MiniAccumuloClusterControl.adminStopAll to stop sserver and co…
Browse files Browse the repository at this point in the history
…mpactor

The call to Manager.shutdown does not stop the ScanServers and Compactors.
  • Loading branch information
dlmarion committed Oct 27, 2023
1 parent 759b5d5 commit 1fc1c82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ public void adminStopAll() throws IOException {
if (p.exitValue() != 0) {
throw new IOException("Failed to run `accumulo admin stopAll`");
}
stopAllServers(ServerType.COMPACTOR);
stopAllServers(ServerType.SCAN_SERVER);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
import org.apache.hadoop.fs.RawLocalFileSystem;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down Expand Up @@ -232,7 +231,6 @@ public void killedTabletServer2() throws Exception {
}

@Test
@Disabled // ELASTICITY_TODO
public void killedTabletServerDuringShutdown() throws Exception {
try (AccumuloClient c = Accumulo.newClient().from(getClientProps()).build()) {
String tableName = getUniqueNames(1)[0];
Expand Down

0 comments on commit 1fc1c82

Please sign in to comment.