public class ApiHdfsHaArguments extends Object
Constructor and Description |
---|
ApiHdfsHaArguments() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getActiveName()
Name of the active NameNode.
|
String |
getActiveSharedEditsPath()
Path to the shared edits directory on the active NameNode's host.
|
boolean |
getDeployClientConfigs()
Whether to re-deploy client configurations.
|
String |
getNameservice()
Nameservice that identifies the HA pair.
|
String |
getStandByName()
Name of the stand-by Namenode.
|
String |
getStandBySharedEditsPath()
Path to the shared edits directory on the stand-by NameNode's host.
|
boolean |
getStartDependentServices()
Whether to re-start dependent services.
|
int |
hashCode() |
boolean |
isEnableQuorumStorage()
Deprecated.
|
void |
setActiveName(String activeName) |
void |
setActiveSharedEditsPath(String annSharedEditsPath) |
void |
setDeployClientConfigs(boolean deploy) |
void |
setEnableQuorumStorage(boolean enableQuorumStorage) |
void |
setNameservice(String nameservice) |
void |
setStandByName(String standByName) |
void |
setStandBySharedEditsPath(String sbnSharedEditsPath) |
void |
setStartDependentServices(boolean start) |
String |
toString() |
public String getActiveName()
public void setActiveName(String activeName)
public String getActiveSharedEditsPath()
public void setActiveSharedEditsPath(String annSharedEditsPath)
public String getStandByName()
public void setStandByName(String standByName)
public String getStandBySharedEditsPath()
public void setStandBySharedEditsPath(String sbnSharedEditsPath)
public String getNameservice()
public void setNameservice(String nameservice)
public boolean getStartDependentServices()
public void setStartDependentServices(boolean start)
public boolean getDeployClientConfigs()
public void setDeployClientConfigs(boolean deploy)
@Deprecated public boolean isEnableQuorumStorage()
Whether to enable Quorum-based Storage. Enabling Quorum-based Storage requires a minimum of three and an odd number of JournalNodes to be created and configured before enabling HDFS HA.
Available since API v2.
public void setEnableQuorumStorage(boolean enableQuorumStorage)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.