Installing Cloudera Director Server on the EC2 Instance

Cloudera recommends that you install Cloudera Director server on your cloud provider within the subnet where you will create CDH clusters, since Cloudera Director must have access to the private IP addresses of the instances that it creates. To install Cloudera Director server, perform the tasks below. You must be either running as root or using sudo to perform these tasks.

  1. SSH into the EC2 instance you created for Cloudera Director. If you have VPN or AWS Direct Connect, SSH to your private IP address. Otherwise use your public IP address.
    • The default username for RHEL, CentOS, Oracle, and SLES is ec2-user.
    • The default username for Debian is admin.
    • The default username for Ubuntu is ubuntu.
  2. Install a supported version of the Oracle Java Development Kit (JDK) on the Cloudera Director host. Currently, Cloudera Director supports JDK versions 8, 7, and 6. For installation information, see Java SE Downloads.
  3. Download the Cloudera Director by running the correct command for your distribution.
    • For RHEL 6, CentOS 6, and Oracle 6:
      wget http://archive.cloudera.com/director/redhat/6/x86_64/director/cloudera-director.repo -O /etc/yum.repos.d/cloudera-director.repo
    • For RHEL 5, CentOS 5, and Oracle 5:
      wget http://archive.cloudera.com/director/redhat/5/x86_64/director/cloudera-director.repo -O /etc/yum.repos.d/cloudera-director.repo
    • For SLES:
      zypper addrepo -f http://archive.cloudera.com/director/sles/11/x86_64/director/cloudera-director.repo
    • For Debian:
      wget http://archive.cloudera.com/director/debian/wheezy/amd64/director/cloudera-director.list -O /etc/apt/sources.list.d/cloudera-director.list
    • For Ubuntu 12.04 (Precise Pangolin):
      wget http://archive.cloudera.com/director/ubuntu/precise/amd64/director/cloudera-director.list -O /etc/apt/sources.list.d/cloudera-director.list
    • For Ubuntu 14.04 (Trusty Tahr):
      wget http://archive.cloudera.com/director/ubuntu/trusty/amd64/director/cloudera-director.list -O /etc/apt/sources.list.d/cloudera-director.list
  4. Add the signing key.
    • For RHEL 6, CentOS 6, and Oracle 6 this step is not required. Continue to the next step.
    • For RHEL 5, CentOS 5, and Oracle 5 this step is not required. Continue to the next step.
    • For SLES this step is not required. Continue to the next step.
    • For Debian, run the following command:
      curl -s http://archive.cloudera.com/director/debian/wheezy/amd64/director/archive.key | sudo apt-key add -
    • For Ubuntu 12.04 (Precise Pangolin), run the following command:
      curl -s http://archive.cloudera.com/director/ubuntu/precise/amd64/director/archive.key | sudo apt-key add -
    • For Ubuntu 14.04 (Trusty Tahr), run the following command:
      curl -s http://archive.cloudera.com/director/ubuntu/trusty/amd64/director/archive.key | sudo apt-key add -
  5. Install Cloudera Director server by running the correct command for your distribution.
    • For RHEL 6, CentOS 6, and Oracle 6:
      yum install cloudera-director-server
    • For RHEL 5, CentOS 5, and Oracle 5:
      yum install cloudera-director-server
    • For SLES:
      zypper install cloudera-director-server
    • For Debian, Ubuntu 12.04 (Precise Pangolin), and Ubuntu 14.04 (Trusty Tahr):
      apt-get update
      apt-get install cloudera-director-server
      apt-get install oracle-j2sdk1.7
  6. Start the Cloudera Director server by running the following command:
    service cloudera-director-server start
  7. Save the existing iptables rule set and disable the firewall:
    • For RHEL 6, CentOS 6, and Oracle 6:
      iptables-save > ~/firewall.rules
      chkconfig iptables off
      /etc/init.d/iptables stop
    • For RHEL 5, CentOS 5, and Oracle 5:
      iptables-save > ~/firewall.rules
      chkconfig iptables off
      /etc/init.d/iptables stop
    • For SLES:
      iptables-save > ~/firewall.rules
      chkconfig SuSEfirewall2_setup off
      rcSuSEfirewall2 stop
    • For Debian:
      iptables-save > ~/firewall.rules
      chkconfig iptables off
      /etc/init.d/iptables stop
    • Ubuntu 12.04 (Precise Pangolin), and Ubuntu 14.04 (Trusty Tahr):
      iptables-save > ~/firewall.rules
      service ufw stop

You are now ready to install Cloudera Manager and CDH on the Cloudera Director server.

Viewing Cloudera Director Logs

To help you troubleshoot problems, you can view the Cloudera Director server log file. There is one server log file for all clusters. The log file can be found in the following location:
/var/log/cloudera-director-server/application.log