com.cloudera.api.model
Class ApiEnableLlamaRmArguments

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

public class ApiEnableLlamaRmArguments
extends Object

Arguments used for enable Llama RM command.


Constructor Summary
ApiEnableLlamaRmArguments()
           
 
Method Summary
 boolean equals(Object o)
           
 String getLlama1HostId()
          HostId of the host on which the first Llama role will be created.
 String getLlama1RoleName()
          Name of the first Llama role to be created (optional).
 String getLlama2HostId()
          HostId of the host on which the second Llama role will be created.
 String getLlama2RoleName()
          Name of the second Llama role to be created (optional).
 boolean getSkipRestart()
          Skip the restart of Yarn, Impala, and their dependent services, and don't deploy client configuration.
 String getZkServiceName()
          Name of the ZooKeeper service that will be used for auto-failover.
 int hashCode()
           
 void setLlama1HostId(String llama1HostId)
           
 void setLlama1RoleName(String llama1RoleName)
           
 void setLlama2HostId(String llama2HostId)
           
 void setLlama2RoleName(String llama2RoleName)
           
 void setSkipRestart(boolean skipRestart)
           
 void setZkServiceName(String zkServiceName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiEnableLlamaRmArguments

public ApiEnableLlamaRmArguments()
Method Detail

getLlama1HostId

public String getLlama1HostId()
HostId of the host on which the first Llama role will be created.


setLlama1HostId

public void setLlama1HostId(String llama1HostId)

getLlama1RoleName

public String getLlama1RoleName()
Name of the first Llama role to be created (optional).


setLlama1RoleName

public void setLlama1RoleName(String llama1RoleName)

getLlama2HostId

public String getLlama2HostId()
HostId of the host on which the second Llama role will be created.


setLlama2HostId

public void setLlama2HostId(String llama2HostId)

getLlama2RoleName

public String getLlama2RoleName()
Name of the second Llama role to be created (optional).


setLlama2RoleName

public void setLlama2RoleName(String llama2RoleName)

getZkServiceName

public String getZkServiceName()
Name of the ZooKeeper service that will be used for auto-failover. Only relevant when enabling Llama RM in HA mode (i.e., when two Llama roles are being created). This argument may be omitted if the ZooKeeper dependency for Impala is already configured.


setZkServiceName

public void setZkServiceName(String zkServiceName)

getSkipRestart

public boolean getSkipRestart()
Skip the restart of Yarn, Impala, and their dependent services, and don't deploy client configuration. Default is false (i.e., by default, the services are restarted and client configuration is deployed).


setSkipRestart

public void setSkipRestart(boolean skipRestart)

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.