public class ApiEnableJtHaArguments extends Object
Constructor and Description |
---|
ApiEnableJtHaArguments() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getFc1RoleName()
Name of first Failover Controller role to be created.
|
String |
getFc2RoleName()
Name of second Failover Controller role to be created.
|
boolean |
getForceInitZNode()
Initialize the ZNode even if it already exists.
|
String |
getLogicalName()
Logical name of the JobTracker pair.
|
String |
getNewJtHostId()
Id of host on which second JobTracker role will be added.
|
String |
getNewJtRoleName()
Name of the second JobTracker role to be created (Optional)
|
String |
getZkServiceName()
Name of the ZooKeeper service that will be used for auto-failover.
|
int |
hashCode() |
void |
setFc1RoleName(String fc1RoleName) |
void |
setFc2RoleName(String fc2RoleName) |
void |
setForceInitZNode(boolean forceInitZNode) |
void |
setLogicalName(String logicalName) |
void |
setNewJtHostId(String newJtHostId) |
void |
setNewJtRoleName(String newJtRoleName) |
void |
setZkServiceName(String zkServiceName) |
String |
toString() |
public String getNewJtHostId()
public void setNewJtHostId(String newJtHostId)
public boolean getForceInitZNode()
public void setForceInitZNode(boolean forceInitZNode)
public String getZkServiceName()
public void setZkServiceName(String zkServiceName)
public String getNewJtRoleName()
public void setNewJtRoleName(String newJtRoleName)
public String getFc1RoleName()
public void setFc1RoleName(String fc1RoleName)
public String getFc2RoleName()
public void setFc2RoleName(String fc2RoleName)
public String getLogicalName()
Available since API v8.
public void setLogicalName(String logicalName)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.