protected static class ZKRegistry.DrillbitTracker extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ZKRegistry.DrillbitTracker.State
A Drillbit can be in one of four states.
|
Modifier and Type | Field and Description |
---|---|
protected CoordinationProtos.DrillbitEndpoint |
endpoint
For Drillbits discovered through ZK, the Drill endpoint for the Drillbit.
|
protected String |
key
The common key used between tasks and ZK registrations.
|
protected ZKRegistry.DrillbitTracker.State |
state
ZK tracking state.
|
protected Task |
task
For Drillbits started by the AM, the task object for this Drillbit.
|
Constructor and Description |
---|
DrillbitTracker(String key,
CoordinationProtos.DrillbitEndpoint endpoint) |
DrillbitTracker(String key,
Task task) |
Modifier and Type | Method and Description |
---|---|
void |
becomeUnregistered()
Mark that a YARN-managed Drillbit has dropped out of ZK.
|
protected final String key
host:port:port:port
protected ZKRegistry.DrillbitTracker.State state
ZKRegistry.DrillbitTracker.State
protected Task task
protected CoordinationProtos.DrillbitEndpoint endpoint
public DrillbitTracker(String key, CoordinationProtos.DrillbitEndpoint endpoint)
Copyright © 1970 The Apache Software Foundation. All rights reserved.