new TBinaryProtocol(transport));
int restartBatch = (batchSize > 0) ? batchSize :
conf.getCoronaNodeRestartBatch();
try {
transport.open();
RestartNodesArgs restartNodeArgs = new RestartNodesArgs(
forceFlag, restartBatch);
client.restartNodes(restartNodeArgs);
} catch (SafeModeException e) {
System.err.println("ClusterManager is in Safe Mode");