Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2213

Make {External,Internal}MiniCluster providing an interface to invoke RPC methods of masters/tservers

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: test, util
    • Labels:
      None

      Description

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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              aserbin Alexey Serbin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: