// Repeatedly print status
final HelixConnection connection = launcher.pollForConnection();
final ClusterId clusterId = ClusterId.from(appSpec.getAppName());
// TODO: this is a hack -- TaskDriver should accept a connection instead of a manager
HelixManager manager = new ZKHelixManager(new HelixRole() {
@Override
public HelixConnection getConnection() {
return connection;
}