You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "dlmarion (via GitHub)" <gi...@apache.org> on 2024/09/12 18:00:29 UTC

Re: [I] Add specific hostname connection option for accumulo shell [accumulo]

dlmarion commented on issue #4823:
URL: https://github.com/apache/accumulo/issues/4823#issuecomment-2346920423

   > The accumulo shell communicates with the system by connecting as a random tserver.
   > This can be problematic as information like property site config information is based on the specific tserver connection.
   
   I believe the random behavior that you are referring to only happens when the client is executing a method from the [ClientService](https://github.com/apache/accumulo/blob/3.1/core/src/main/thrift-gen-java/org/apache/accumulo/core/clientImpl/thrift/ClientService.java) or the [TabletServerClientService](https://github.com/apache/accumulo/blob/main/core/src/main/thrift-gen-java/org/apache/accumulo/core/tabletserver/thrift/TabletServerClientService.java).
   
   The random connection logic is located [here](https://github.com/apache/accumulo/blob/3.1/core/src/main/java/org/apache/accumulo/core/rpc/clients/TServerClient.java#L60). Looking at the methods on the [TabletServerClientService$Iface](https://github.com/apache/accumulo/blob/main/core/src/main/thrift-gen-java/org/apache/accumulo/core/tabletserver/thrift/TabletServerClientService.java#L30), I think we should support specifying a specific server name for the ClientService only.


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