public ListClusterCommand(ClusterControllerFactory factory) { this(factory, new ClusterStateStoreFactory()); }
public RunScriptCommand(ClusterControllerFactory factory) { this(factory, new ClusterStateStoreFactory()); }
public ConfigureServicesCommand(ClusterControllerFactory factory) { this(factory, new ClusterStateStoreFactory()); }
public StartServicesCommand(ClusterControllerFactory factory) { this(factory, new ClusterStateStoreFactory()); }
public RestartServicesCommand(ClusterControllerFactory factory) { this(factory, new ClusterStateStoreFactory()); }
public StopServicesCommand(ClusterControllerFactory factory) { this(factory, new ClusterStateStoreFactory()); }
public StartServicesCommand(ClusterControllerFactory factory) { this(factory, new ClusterStateStoreFactory()); }
public AbstractClusterCommand(String name, String description, ClusterControllerFactory factory) { this(name, description, factory, new ClusterStateStoreFactory()); }
public StopServicesCommand(ClusterControllerFactory factory) { this(factory, new ClusterStateStoreFactory()); }
public CleanupClusterCommand(ClusterControllerFactory factory) { this(factory, new ClusterStateStoreFactory()); }
public ConfigureServicesCommand(ClusterControllerFactory factory) { this(factory, new ClusterStateStoreFactory()); }
public AbstractClusterCommand(String name, String description, ClusterControllerFactory factory) { this(name, description, factory, new ClusterStateStoreFactory()); }
public ClusterController() { this(ComputeCache.INSTANCE, new ClusterStateStoreFactory()); }
public RestartServicesCommand(ClusterControllerFactory factory) { this(factory, new ClusterStateStoreFactory()); }
public RunScriptCommand(ClusterControllerFactory factory) { this(factory, new ClusterStateStoreFactory()); }
public ClusterController() { this(ComputeCache.INSTANCE, new ClusterStateStoreFactory()); }
public ListClusterCommand(ClusterControllerFactory factory) { this(factory, new ClusterStateStoreFactory()); }
public CleanupClusterCommand(ClusterControllerFactory factory) { this(factory, new ClusterStateStoreFactory()); }
private Cluster.Instance findPigInstance() throws IOException { Cluster cluster = new ClusterStateStoreFactory().create(clusterSpec).load(); return cluster.getInstanceMatching(anyRoleIn(newHashSet(PIG_CLIENT_ROLE))); } }
private Cluster.Instance findMahoutInstance() throws IOException { Cluster cluster = new ClusterStateStoreFactory().create(clusterSpec).load(); return cluster.getInstanceMatching(anyRoleIn(newHashSet(MAHOUT_CLIENT_ROLE))); } }