Package org.apache.accumulo.tserver
Class TabletServerResourceManager.AssignmentWatcher
- java.lang.Object
-
- org.apache.accumulo.tserver.TabletServerResourceManager.AssignmentWatcher
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- TabletServerResourceManager
public 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, ServerContext context, Map<KeyExtent,RunnableStartedAt> activeAssignments)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static long
getLongAssignments()
void
run()
-
-
-
Constructor Detail
-
AssignmentWatcher
public AssignmentWatcher(AccumuloConfiguration conf, ServerContext context, Map<KeyExtent,RunnableStartedAt> activeAssignments)
-
-