com.cloudera.api.model
Class ApiHdfsFailoverArguments

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

public class ApiHdfsFailoverArguments
extends Object

Arguments used when enabling HDFS automatic failover.


Constructor Summary
ApiHdfsFailoverArguments()
           
 
Method Summary
 boolean equals(Object o)
           
 String getActiveFCName()
          Name of the failover controller to create for the active NameNode.
 String getNameservice()
          Nameservice for which to enable automatic failover.
 String getStandByFCName()
          Name of the failover controller to create for the stand-by NameNode.
 ApiServiceRef getZooKeeperService()
          The ZooKeeper service to use.
 int hashCode()
           
 void setActiveFCName(String activeControllerName)
           
 void setNameservice(String nameservice)
           
 void setStandByFCName(String standByControllerName)
           
 void setZooKeeperService(ApiServiceRef zooKeeperService)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiHdfsFailoverArguments

public ApiHdfsFailoverArguments()
Method Detail

getNameservice

public String getNameservice()
Nameservice for which to enable automatic failover.


setNameservice

public void setNameservice(String nameservice)

getZooKeeperService

public ApiServiceRef getZooKeeperService()
The ZooKeeper service to use.


setZooKeeperService

public void setZooKeeperService(ApiServiceRef zooKeeperService)

getActiveFCName

public String getActiveFCName()
Name of the failover controller to create for the active NameNode.


setActiveFCName

public void setActiveFCName(String activeControllerName)

getStandByFCName

public String getStandByFCName()
Name of the failover controller to create for the stand-by NameNode.


setStandByFCName

public void setStandByFCName(String standByControllerName)

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.