public class ApiEnableNnHaArguments extends Object
Constructor and Description |
---|
ApiEnableNnHaArguments() |
Modifier and Type | Method and Description |
---|---|
String |
getActiveFcName()
Name of the FailoverController role to be created on
Active NameNode's host (Optional).
|
String |
getActiveNnName()
Name of the NameNode role that is going to be made Highly Available.
|
Set<ApiJournalNodeArguments> |
getJns()
Arguments for the JournalNodes to be created during the command.
|
String |
getNameservice()
Nameservice to be used while enabling Highly Available.
|
String |
getQjName()
Name of the journal located on each JournalNodes' filesystem.
|
String |
getStandbyFcName()
Name of the FailoverController role to be created on
Standby NameNode's host (Optional).
|
List<String> |
getStandbyNameDirList()
List of directories for the new Standby NameNode.
|
String |
getStandbyNnHostId()
Id of the host on which new Standby NameNode will be created.
|
String |
getStandbyNnName()
Name of the new Standby NameNode role that will be created during the
command (Optional).
|
String |
getZkServiceName()
Name of the ZooKeeper service to be used for Auto-Failover.
|
boolean |
isClearExistingJnEditsDir()
Boolean indicating if the existing edits directories for the JournalNodes
for the specified nameservice should be cleared during the workflow.
|
boolean |
isClearExistingStandbyNameDirs()
Boolean indicating if the existing name directories for Standby NameNode
should be cleared during the workflow.
|
boolean |
isForceInitZNode()
Boolean indicating if the ZNode should be force initialized if it is
already present.
|
void |
setActiveFcName(String activeFcName) |
void |
setActiveNnName(String activeNnName) |
void |
setClearExistingJnEditsDir(boolean clearExistingJnEditsDir) |
void |
setClearExistingStandbyNameDirs(boolean clearExistingStandbyNameDirs) |
void |
setForceInitZNode(boolean forceInitZNode) |
void |
setJns(Set<ApiJournalNodeArguments> jns) |
void |
setNameservice(String nameservice) |
void |
setQjName(String qjName) |
void |
setStandbyFcName(String standbyFcName) |
void |
setStandbyNameDirList(List<String> standbyNameDirList) |
void |
setStandbyNnHostId(String standbyNnHostId) |
void |
setStandbyNnName(String standbyNnName) |
void |
setZkServiceName(String zkServiceName) |
public String getActiveNnName()
public void setActiveNnName(String activeNnName)
public String getStandbyNnName()
public void setStandbyNnName(String standbyNnName)
public String getStandbyNnHostId()
public void setStandbyNnHostId(String standbyNnHostId)
public List<String> getStandbyNameDirList()
public String getNameservice()
public void setNameservice(String nameservice)
public String getQjName()
public void setQjName(String qjName)
public String getActiveFcName()
public void setActiveFcName(String activeFcName)
public String getStandbyFcName()
public void setStandbyFcName(String standbyFcName)
public String getZkServiceName()
public void setZkServiceName(String zkServiceName)
public Set<ApiJournalNodeArguments> getJns()
public void setJns(Set<ApiJournalNodeArguments> jns)
public boolean isForceInitZNode()
public void setForceInitZNode(boolean forceInitZNode)
public boolean isClearExistingStandbyNameDirs()
public void setClearExistingStandbyNameDirs(boolean clearExistingStandbyNameDirs)
public boolean isClearExistingJnEditsDir()
public void setClearExistingJnEditsDir(boolean clearExistingJnEditsDir)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.