You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Alexey Serbin (JIRA)" <ji...@apache.org> on 2017/11/09 22:08:01 UTC

[jira] [Created] (KUDU-2213) Make {External,Internal}MiniCluster providing an interface to invoke RPC methods of masters/tservers

Alexey Serbin created KUDU-2213:
-----------------------------------

             Summary: Make {External,Internal}MiniCluster providing an interface to invoke RPC methods of masters/tservers
                 Key: KUDU-2213
                 URL: https://issues.apache.org/jira/browse/KUDU-2213
             Project: Kudu
          Issue Type: Improvement
          Components: test, util
            Reporter: Alexey Serbin
            Priority: Minor


Right now, tests based on InternalMiniCluster use direct access to Master and TServer interfaces to invoke master/tserver calls.  The tests based on ExternalMiniCluster use mix of ExternalMaster, ExternalTabletServer/TServerDetails wrappers to invoke master/tserver RPC methods.  Two different wrappers exist to do the same things in Internal and External mini clusters, and in many cases the tests which use InternalMiniCluster could invoke necessary methods via RPC as well (instead of direct in-process calls) and use common test wrapper library.

Also, from the pure API point, it would be much cleaner to have InternalMiniCluster and ExternalMiniCluster provide common interface to the common functionality they have (in this particular case, to invoke RPC methods of masters/tservers).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)