com.cloudera.api.model
Class ApiHostInstallArguments

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

public class ApiHostInstallArguments
extends Object

Arguments to perform installation on one or more hosts


Constructor Summary
ApiHostInstallArguments()
           
 
Method Summary
 boolean equals(Object o)
           
 String getCmRepoUrl()
          The Cloudera Manager repository URL to use (optional).
 String getGpgKeyCustomUrl()
          The Cloudera Manager public GPG key (optional).
 List<String> getHostNames()
          List of hosts to configure for use with Cloudera Manager.
 String getJavaInstallStrategy()
          Added in v8: Strategy to use for JDK installation.
 Integer getParallelInstallCount()
          Number of simultaneous installations.
 String getPassphrase()
          The passphrase associated with the private key used to authenticate with the hosts (optional).
 String getPassword()
          The password used to authenticate with the hosts.
 String getPrivateKey()
          The private key to authenticate with the hosts.
 Integer getSshPort()
          SSH port.
 String getUserName()
          The username used to authenticate with the hosts.
 int hashCode()
           
 boolean isUnlimitedJCE()
          Added in v8: Flag for unlimited strength JCE policy files installation If unset, defaults to false
 void setCmRepoUrl(String cmRepoUrl)
           
 void setGpgKeyCustomUrl(String gpgKeyCustomUrl)
           
 void setHostNames(List<String> hostNames)
           
 void setJavaInstallStrategy(String javaInstallStrategy)
           
 void setParallelInstallCount(Integer parallelInstallCount)
           
 void setPassphrase(String passphrase)
           
 void setPassword(String password)
           
 void setPrivateKey(String privateKey)
           
 void setSshPort(Integer sshPort)
           
 void setUnlimitedJCE(boolean unlimitedJCE)
           
 void setUserName(String userName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiHostInstallArguments

public ApiHostInstallArguments()
Method Detail

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

getHostNames

public List<String> getHostNames()
List of hosts to configure for use with Cloudera Manager. A host may be specified by a hostname (FQDN) or an IP address.


setHostNames

public void setHostNames(List<String> hostNames)

getSshPort

public Integer getSshPort()
SSH port. If unset, defaults to 22.


setSshPort

public void setSshPort(Integer sshPort)

getUserName

public String getUserName()
The username used to authenticate with the hosts. Root access to your hosts is required to install Cloudera packages. The installer will connect to your hosts via SSH and log in either directly as root or as another user with password-less sudo privileges to become root.


setUserName

public void setUserName(String userName)

getPassword

public String getPassword()
The password used to authenticate with the hosts. Specify either this or a private key. For password-less login, use an empty string as password.


setPassword

public void setPassword(String password)

getPrivateKey

public String getPrivateKey()
The private key to authenticate with the hosts. Specify either this or a password.
The private key, if specified, needs to be a standard PEM-encoded key as a single string, with all line breaks replaced with the line-feed control character '\n'.
A value will typically look like the following string:
-----BEGIN RSA PRIVATE KEY-----\n[base-64 encoded key]\n-----END RSA PRIVATE KEY-----


setPrivateKey

public void setPrivateKey(String privateKey)

getPassphrase

public String getPassphrase()
The passphrase associated with the private key used to authenticate with the hosts (optional).


setPassphrase

public void setPassphrase(String passphrase)

getParallelInstallCount

public Integer getParallelInstallCount()
Number of simultaneous installations. Defaults to 10. Running a large number of installations at once can consume large amounts of network bandwidth and other system resources.


setParallelInstallCount

public void setParallelInstallCount(Integer parallelInstallCount)

getCmRepoUrl

public String getCmRepoUrl()
The Cloudera Manager repository URL to use (optional). Example for SLES, Redhat or other RPM based distributions: https://archive.cloudera.com/cm5/redhat/5/x86_64/cm/5/ Example for Ubuntu or other Debian based distributions: "deb https://archive.cloudera.com/cm5/ubuntu/lucid/amd64/cm lucid-cm5 contrib"


setCmRepoUrl

public void setCmRepoUrl(String cmRepoUrl)

getGpgKeyCustomUrl

public String getGpgKeyCustomUrl()
The Cloudera Manager public GPG key (optional). Example for SLES, Redhat or other RPM based distributions: https://archive.cloudera.com/cm5/redhat/5/x86_64/cm/RPM-GPG-KEY-cloudera Example for Ubuntu or other Debian based distributions: https://archive.cloudera.com/cm5/ubuntu/lucid/amd64/cm/archive.key


setGpgKeyCustomUrl

public void setGpgKeyCustomUrl(String gpgKeyCustomUrl)

getJavaInstallStrategy

public String getJavaInstallStrategy()
Added in v8: Strategy to use for JDK installation. Valid values are 1. AUTO (default): Cloudera Manager will install the JDK versions that are required when the "AUTO" option is selected. Cloudera Manager may overwrite any of the existing JDK installations. 2. NONE: Cloudera Manager will not install any JDK when "NONE" option is selected. It should be used if an existing JDK installation has to be used.


setJavaInstallStrategy

public void setJavaInstallStrategy(String javaInstallStrategy)

isUnlimitedJCE

public boolean isUnlimitedJCE()
Added in v8: Flag for unlimited strength JCE policy files installation If unset, defaults to false


setUnlimitedJCE

public void setUnlimitedJCE(boolean unlimitedJCE)


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