public static void setLocation(ServerContext context, Assignment assignment) throws DistributedStoreException { getStoreForTablet(assignment.tablet, context) .setLocations(Collections.singletonList(assignment)); }
public static void unassign(ServerContext context, TabletLocationState tls, Map<TServerInstance,List<Path>> logsForDeadServers) throws DistributedStoreException { getStoreForTablet(tls.extent, context).unassign(Collections.singletonList(tls), logsForDeadServers); }
public static void suspend(ServerContext context, TabletLocationState tls, Map<TServerInstance,List<Path>> logsForDeadServers, long suspensionTimestamp) throws DistributedStoreException { getStoreForTablet(tls.extent, context).suspend(Collections.singletonList(tls), logsForDeadServers, suspensionTimestamp); }
public static void unassign(AccumuloServerContext context, TabletLocationState tls, Map<TServerInstance,List<Path>> logsForDeadServers) throws DistributedStoreException { getStoreForTablet(tls.extent, context).unassign(Collections.singletonList(tls), logsForDeadServers); }
public static void suspend(AccumuloServerContext context, TabletLocationState tls, Map<TServerInstance,List<Path>> logsForDeadServers, long suspensionTimestamp) throws DistributedStoreException { getStoreForTablet(tls.extent, context).suspend(Collections.singletonList(tls), logsForDeadServers, suspensionTimestamp); }
public static void setLocation(AccumuloServerContext context, Assignment assignment) throws DistributedStoreException { getStoreForTablet(assignment.tablet, context) .setLocations(Collections.singletonList(assignment)); }