public static void unassign(ServerContext context, TabletLocationState tls, Map<TServerInstance,List<Path>> logsForDeadServers) throws DistributedStoreException { getStoreForTablet(tls.extent, context).unassign(Collections.singletonList(tls), logsForDeadServers); }
store.suspend(assignedToDeadServers, logsForDeadServers, master.getSteadyTime()); } else { store.unassign(assignedToDeadServers, logsForDeadServers);
&& !getConfiguration().getBoolean(Property.MASTER_METADATA_SUSPENDABLE))) { log.debug("Unassigning {}", tls); TabletStateStore.unassign(context, tls, null); } else { log.debug("Suspending " + tls);
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 unassign(TabletLocationState tls) throws DistributedStoreException { TabletStateStore store; if (tls.extent.isRootTablet()) { store = new ZooTabletStateStore(); } else { store = new MetaDataStateStore(); } store.unassign(Collections.singletonList(tls)); }
int maxServersToShow = min(assignedToDeadServers.size(), 100); log.debug(assignedToDeadServers.size() + " assigned to dead servers: " + assignedToDeadServers.subList(0, maxServersToShow) + "..."); store.unassign(assignedToDeadServers); nextEvent.event("Marked %d tablets as unassigned because they don't have current servers", assignedToDeadServers.size());
store.suspend(assignedToDeadServers, logsForDeadServers, master.getSteadyTime()); } else { store.unassign(assignedToDeadServers, logsForDeadServers);
TabletStateStore.unassign(tls); } catch (DistributedStoreException ex) { log.warn("Unable to update storage", ex);
&& !getConfiguration().getBoolean(Property.MASTER_METADATA_SUSPENDABLE))) { log.debug("Unassigning " + tls); TabletStateStore.unassign(TabletServer.this, tls, null); } else { log.debug("Suspending " + tls);