return builder.jmxUser("admin").jmxPassword(zookeeperPassword).
zookeeperUrl(zookeeperUrl).zookeeperPassword(zookeeperPassword);
}
protected String chooseRootContainer(AutoScaleRequest request, List<String> containerIds) {
ChildScalingRequirements scalingRequirements = getChildScalingRequirements(request);
if (scalingRequirements != null) {
List<String> rootContainerPatterns = scalingRequirements.getRootContainerPatterns();
if (rootContainerPatterns != null && !rootContainerPatterns.isEmpty()) {
Filter<String> filter = Filters.createStringFilters(rootContainerPatterns);
List<String> matchingRootContainers = Filters.filter(containerIds, filter);
return Filters.matchRandomElement(matchingRootContainers);
}