milleruntime opened a new issue, #2747:
URL: https://github.com/apache/accumulo/issues/2747

   If you try to force stop a server that is not running using the `accumulo 
admin` command, an error will be thrown:
   <pre>
   09:55:47 {main} ~/workspace/uno$ accumulo admin -f stop localhost:9997 
   2022-05-31T09:55:54,195 [conf.SiteConfiguration] INFO : Found Accumulo 
configuration on classpath at 
/home/mpmill4/workspace/uno/install/accumulo-2.1.0-SNAPSHOT/conf/accumulo.properties
   2022-05-31T09:55:55,062 [metrics.MetricsUtil] INFO : Metric producer 
PropStoreMetrics initialize
   2022-05-31T09:55:55,197 [util.Admin] INFO : Stopping server localhost:9997
   2022-05-31T09:55:55,245 [util.Admin] ERROR: 
org.apache.thrift.TApplicationException: Internal error processing 
shutdownTabletServer
   org.apache.accumulo.core.client.AccumuloException: 
org.apache.thrift.TApplicationException: Internal error processing 
shutdownTabletServer
        at 
org.apache.accumulo.core.rpc.clients.ManagerThriftClient.executeVoidTableCommand(ManagerThriftClient.java:123)
 ~[accumulo-core-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at 
org.apache.accumulo.core.rpc.clients.ManagerThriftClient.executeVoid(ManagerThriftClient.java:135)
 ~[accumulo-core-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at 
org.apache.accumulo.server.util.Admin.stopTabletServer(Admin.java:398) 
~[accumulo-server-base-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at org.apache.accumulo.server.util.Admin.execute(Admin.java:261) 
~[accumulo-server-base-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at org.apache.accumulo.start.Main.lambda$execKeyword$0(Main.java:126) 
~[accumulo-start-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at java.lang.Thread.run(Thread.java:829) ~[?:?]
   Caused by: org.apache.thrift.TApplicationException: Internal error 
processing shutdownTabletServer
        at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:79) 
~[libthrift-0.16.0.jar:0.16.0]
        at 
org.apache.accumulo.core.manager.thrift.ManagerClientService$Client.recv_shutdownTabletServer(ManagerClientService.java:404)
 ~[accumulo-core-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at 
org.apache.accumulo.core.manager.thrift.ManagerClientService$Client.shutdownTabletServer(ManagerClientService.java:388)
 ~[accumulo-core-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at 
org.apache.accumulo.server.util.Admin.lambda$stopTabletServer$2(Admin.java:399) 
~[accumulo-server-base-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at 
org.apache.accumulo.core.rpc.clients.ManagerThriftClient.executeVoidTableCommand(ManagerThriftClient.java:102)
 ~[accumulo-core-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        ... 5 more
   </pre>
   
   But if you don't use the `-f, --force` option, nothing happens. The error 
should not be happening. If it is possible, we should also log that the server 
is not running.


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