private List<String> getAdmins() throws KeeperException {
		String adminsPath = "/" + zkNamespace + "/" + XD_ADMINS;
		List<String> results = new ArrayList<String>();
		try {
			Stat stat = zk.exists(adminsPath, false);
			if (stat != null) {
				List<String> admins = zk.getChildren(adminsPath, false);
				for (String admin : admins) {
					byte[] data = zk.getData(adminsPath + "/" + admin, false, null);
					try {
						HashMap<String,Object> dataValues =
								new ObjectMapper().readValue(new String(data), HashMap.class);
						results.add("http://" + dataValues.get("host") + ":" + dataValues.get("port"));
					} catch (IOException e) {
						Log.error("IOException while retrieving data for " + admin + ": " + e.getMessage());
					}
				}
			}
		} catch (InterruptedException ignore) {}
		return results;
	}
Call super constructor for new {@link org.springframework.boot.cli.command.AbstractCommand} instance.
spring-xd-yarn/spring-xd-yarn-client/src/main/java/org/springframework/xd/yarn/XdYarnAdminInfoCommand.java