| hostNames.add(hostNamePair.getInternalHostName());
else
hostNames.add(hostNamePair.getExternalHostName());
}
RemoteOperation operation = new SshRunner(hostNames,
sshPrivateKey,
hostUserId,
kafkaRootDirectory,
className,
builder.toString());
operation.execute();
}
|