instanceUpdater);
Map<String, String> instanceOptions = Maps.newHashMap();
instanceOptions.put("flowlet", flowletName);
instanceOptions.put("newInstances", String.valueOf(instanceCount));
instanceOptions.put("oldInstances", String.valueOf(oldInstances));
flowController.command(ProgramOptionConstants.FLOWLET_INSTANCES, instanceOptions).get();
}
} catch (Exception e) {
LOG.warn(e.getMessage(), e);
}
}