docs: protected void doMain(String[] args, Config config)
        throws ExecutionException, InterruptedException, InstantiationException,
        IllegalAccessException, ClassNotFoundException {
  
      if (args.length < 1) {
        throw new RuntimeException(String.format(
            "Usage: java %s <topology_name> - view state manager details for a topology",
            this.getClass().getCanonicalName()));
      }
  
      String topologyName = args[0];
      print("==> State Manager root path: %s",
          config.getStringValue(Key.STATEMGR_ROOT_PATH));
  
      initialize(config);
  
      if (isTopologyRunning(topologyName).get()) {
        print("==> Topology %s found", topologyName);
        try {
          print("==> Topology:\n%s", getTopology(null, topologyName).get());
        } catch (ExecutionException e) {
          print("Topology node not found %s", e.getMessage());
        }
        try {
          print("==> ExecutionState:\n%s", getExecutionState(null, topologyName).get());
        } catch (ExecutionException e) {
          print("ExecutionState node not found %s", e.getMessage());
        }
        try {
          print("==> SchedulerLocation:\n%s",
                  getSchedulerLocation(null, topologyName).get());
        } catch (ExecutionException e) {
          print("SchedulerLocation node not found %s", e.getMessage());
        }
        try {
          print("==> TMasterLocation:\n%s", getTMasterLocation(null, topologyName).get());
        } catch (ExecutionException e) {
          print("TMasterLocation node not found %s", e.getMessage());
        }
        try {
          print("==> MetricsCacheLocation:\n%s", getMetricsCacheLocation(null, topologyName).get());
        } catch (ExecutionException e) {
          print("MetricsCacheLocation node not found %s", e.getMessage());
        }
        try {
          print("==> PackingPlan:\n%s", getPackingPlan(null, topologyName).get());
        } catch (ExecutionException e) {
          print("PackingPlan node not found %s", e.getMessage());
        }
        try {
          print("==> PhysicalPlan:\n%s", getPhysicalPlan(null, topologyName).get());
        } catch (ExecutionException e) {
          print("PhysicalPlan node not found %s", e.getMessage());
        }
      } else {
        print("==> Topology %s not found under %s",
            topologyName, config.getStringValue(Key.STATEMGR_ROOT_PATH));
      }
    }