if (inputManager.getInput("thrift") != null) {
if (client == null) {
client = getClient("localhost", config.getPort(), 5000);
}
ServiceStatus status = client.getStatus();
if (status != ServiceStatus.ALIVE) {
throw new RuntimeException("NOT ALIVE!!!");
}
}