You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/05/31 13:59:36 UTC

[GitHub] [accumulo] milleruntime opened a new issue, #2747: Admin Util force stop error

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: notifications-unsubscribe@accumulo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [accumulo] dlmarion commented on issue #2747: Admin Util force stop error

Posted by GitBox <gi...@apache.org>.
dlmarion commented on issue #2747:
URL: https://github.com/apache/accumulo/issues/2747#issuecomment-1152306210

   The test added in #2766 produces the same error when force is `true` and the code change in ManagerClientServiceHandler is not applied. With the fix, there is no error on the client side when the TabletServer does not exist. The manager log contains a message 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: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [accumulo] dlmarion closed issue #2747: Admin Util force stop error

Posted by GitBox <gi...@apache.org>.
dlmarion closed issue #2747: Admin Util force stop error
URL: https://github.com/apache/accumulo/issues/2747


-- 
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: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org