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 2021/06/09 20:50:47 UTC

[GitHub] [accumulo] ctubbsii opened a new issue #2155: Remove use of SiteConfiguration in shell's FateCommand

ctubbsii opened a new issue #2155:
URL: https://github.com/apache/accumulo/issues/2155


   SiteConfiguration is a configuration type intended for server-side code. It is not expected that client-side code will have access to the server-side configuration file. Therefore, it doesn't make sense that the shell, which is a client-side application, should leverage the code in the SiteConfiguration class.
   
   From what I can tell, this is the only remaining non-deprecated use of SiteConfiguration in our client code.
   
   It should be removed.
   
   However, it may not be easy, since the implementation of the command relies on the ability to write directly to ZooKeeper in an area that is intended to be used by server-side utilities. In order to make this command purely client-side, it may need to be written to use RPC calls to a server, so that it does not presume access to the server-side configuration file, handled by the SiteConfiguration class.
   
   (was: https://issues.apache.org/jira/browse/ACCUMULO-2996)


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

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