final ExecCommandThread[] infoThreads = new ExecCommandThread[hosts.length];
int i = 0;
for (final Host h : hosts) {
infoThreads[i] = h.execCommand(new ExecCommandConfig()
.commandString("Cluster.Init.getInstallationInfo")
.execCallback(new ExecCallback() {
@Override
public void done(final String answer) {
for (final String line : answer.split("\\r?\\n")) {
h.parseInstallationInfo(line);
}