Package | Description |
---|---|
org.apache.hadoop.ha | |
org.apache.hadoop.hdfs.tools |
Modifier and Type | Field and Description |
---|---|
protected HAServiceTarget |
ZKFailoverController.localTarget |
Modifier and Type | Method and Description |
---|---|
protected abstract HAServiceTarget |
ZKFailoverController.dataToTarget(byte[] data) |
HAServiceTarget |
ZKFailoverController.getLocalTarget() |
protected abstract HAServiceTarget |
HAAdmin.resolveTarget(String string) |
Modifier and Type | Method and Description |
---|---|
void |
FailoverController.failover(HAServiceTarget fromSvc,
HAServiceTarget toSvc,
boolean forceFence,
boolean forceActive)
Failover from service 1 to service 2.
|
boolean |
NodeFencer.fence(HAServiceTarget fromSvc) |
protected abstract byte[] |
ZKFailoverController.targetToData(HAServiceTarget target) |
boolean |
ShellCommandFencer.tryFence(HAServiceTarget target,
String cmd) |
boolean |
SshFenceByTcpPort.tryFence(HAServiceTarget target,
String argsStr) |
boolean |
FenceMethod.tryFence(HAServiceTarget target,
String args)
Attempt to fence the target node.
|
Constructor and Description |
---|
ZKFailoverController(Configuration conf,
HAServiceTarget localTarget) |
Modifier and Type | Class and Description |
---|---|
class |
NNHAServiceTarget
One of the NN NameNodes acting as the target of an administrative command
(e.g.
|
Modifier and Type | Method and Description |
---|---|
protected HAServiceTarget |
DFSZKFailoverController.dataToTarget(byte[] data) |
protected HAServiceTarget |
DFSHAAdmin.resolveTarget(String nnId)
Try to map the given namenode ID to its service address.
|
Modifier and Type | Method and Description |
---|---|
protected byte[] |
DFSZKFailoverController.targetToData(HAServiceTarget target) |
Copyright © 2013 Apache Software Foundation. All rights reserved.