com.cloudera.api.model
Class ApiHdfsDisableHaArguments

java.lang.Object
  extended by com.cloudera.api.model.ApiHdfsDisableHaArguments

public class ApiHdfsDisableHaArguments
extends Object

Arguments used for the HDFS disable HA command.


Constructor Summary
ApiHdfsDisableHaArguments()
           
 
Method Summary
 boolean equals(Object o)
           
 String getActiveName()
          Name of the the NameNode to be kept.
 boolean getDeployClientConfigs()
          Whether to re-deploy client configurations.
 String getSecondaryName()
          Name of the SecondaryNamenode to associate with the active NameNode.
 boolean getStartDependentServices()
          Whether to re-start dependent services.
 int hashCode()
           
 boolean isDisableQuorumStorage()
          Whether to disable Quorum-based Storage.
 void setActiveName(String activeName)
           
 void setDeployClientConfigs(boolean deploy)
           
 void setDisableQuorumStorage(boolean disableQuorumStorage)
           
 void setSecondaryName(String secondaryName)
           
 void setStartDependentServices(boolean start)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiHdfsDisableHaArguments

public ApiHdfsDisableHaArguments()
Method Detail

getActiveName

public String getActiveName()
Name of the the NameNode to be kept.


setActiveName

public void setActiveName(String activeName)

getSecondaryName

public String getSecondaryName()
Name of the SecondaryNamenode to associate with the active NameNode.


setSecondaryName

public void setSecondaryName(String secondaryName)

getStartDependentServices

public boolean getStartDependentServices()
Whether to re-start dependent services. Defaults to true.


setStartDependentServices

public void setStartDependentServices(boolean start)

getDeployClientConfigs

public boolean getDeployClientConfigs()
Whether to re-deploy client configurations. Defaults to true.


setDeployClientConfigs

public void setDeployClientConfigs(boolean deploy)

isDisableQuorumStorage

public boolean isDisableQuorumStorage()
Whether to disable Quorum-based Storage. Defaults to false. Available since API v2.


setDisableQuorumStorage

public void setDisableQuorumStorage(boolean disableQuorumStorage)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.