Package org.apache.accumulo.tserver
Class TabletServerResourceManager.AssignmentWatcher
- java.lang.Object
-
- org.apache.accumulo.tserver.TabletServerResourceManager.AssignmentWatcher
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- TabletServerResourceManager
protected static class TabletServerResourceManager.AssignmentWatcher extends Object implements Runnable
Accepts some map which is tracking active assignment task(s) (running) and monitors them to ensure that the time the assignment(s) have been running don't exceed a threshold. If the time is exceeded a warning is printed and a stack trace is logged for the running assignment.
-
-
Constructor Summary
Constructors Constructor Description AssignmentWatcher(AccumuloConfiguration conf, Map<KeyExtent,RunnableStartedAt> activeAssignments, SimpleTimer timer)
-
-
-
Constructor Detail
-
AssignmentWatcher
public AssignmentWatcher(AccumuloConfiguration conf, Map<KeyExtent,RunnableStartedAt> activeAssignments, SimpleTimer timer)
-
-