com.cloudera.api.model
Class ApiDisableNnHaArguments

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

public class ApiDisableNnHaArguments
extends Object

Arguments used for Disable NameNode High Availability command.


Constructor Summary
ApiDisableNnHaArguments()
           
 
Method Summary
 boolean equals(Object o)
           
 String getActiveNnName()
          Name of the NamdeNode role that is going to be active after High Availability is disabled.
 List<String> getSnnCheckpointDirList()
          List of directories used for checkpointing by the new SecondaryNameNode.
 String getSnnHostId()
          Id of the host where the new SecondaryNameNode will be created.
 String getSnnName()
          Name of the new SecondaryNameNode role (Optional).
 int hashCode()
           
 void setActiveNnName(String activeNnName)
           
 void setSnnCheckpointDirList(List<String> snnCheckpointDirList)
           
 void setSnnHostId(String snnHostId)
           
 void setSnnName(String snnName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiDisableNnHaArguments

public ApiDisableNnHaArguments()
Method Detail

getActiveNnName

public String getActiveNnName()
Name of the NamdeNode role that is going to be active after High Availability is disabled.


setActiveNnName

public void setActiveNnName(String activeNnName)

getSnnHostId

public String getSnnHostId()
Id of the host where the new SecondaryNameNode will be created.


setSnnHostId

public void setSnnHostId(String snnHostId)

getSnnCheckpointDirList

public List<String> getSnnCheckpointDirList()
List of directories used for checkpointing by the new SecondaryNameNode.


setSnnCheckpointDirList

public void setSnnCheckpointDirList(List<String> snnCheckpointDirList)

getSnnName

public String getSnnName()
Name of the new SecondaryNameNode role (Optional).


setSnnName

public void setSnnName(String snnName)

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.