Installing HDF Services on an Existing HDP Cluster
Also available as:
PDF

Get the Ambari Repository

  1. Fetch the new Ambari repo and replace the old repository file with the new repository file on all hosts in your cluster.

    [Important]Important

    Check your current directory before you download the new repository file to make sure that there are no previous versions of the ambari.repo file. If you do not, and a previous version exists, the new download will be saved with a numeric extension, such as ambari.repo.1. Make sure that the version you copy is the new version.

    Select the repository appropriate for your environment:

    • For RHEL/CentOS/Oracle Linux 6:

      wget -nv http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.6.1.0/ambari.repo -O /etc/yum.repos.d/ambari.repo
    • For RHEL/CentOS/Oracle Linux 7:

      wget -nv http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.6.1.0/ambari.repo -O /etc/yum.repos.d/ambari.repo
    • For SLES 11:

      wget -nv http://public-repo-1.hortonworks.com/ambari/suse11/2.x/updates/2.6.1.0/ambari.repo -O /etc/zypp/repos.d/ambari.repo
    • For SLES 12:

      wget -nv http://public-repo-1.hortonworks.com/ambari/sles12/2.x/updates/2.6.1.0/ambari.repo -O /etc/zypp/repos.d/ambari.repo
    • For Ubuntu 14:

      wget -nv http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.6.1.0/ambari.list -O /etc/apt/sources.list.d/ambari.list
    • For Ubuntu 16:

      wget -nv http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.6.1.0/ambari.list -O /etc/apt/sources.list.d/ambari.list
    • For Debian 7:

      wget -nv http://public-repo-1.hortonworks.com/ambari/debian7/2.x/updates/2.6.1.0/ambari.list -O /etc/apt/sources.list.d/ambari.list
    [Note]Note

    If your cluster does not have access to the Internet, set up a local repository with this data before you continue.

    [Note]Note

    Ambari Server does not automatically turn off iptables. Check that your installation setup does not depend on iptables being disabled. After upgrading the server, you must either disable iptables manually or make sure that you have appropriate ports available on all cluster hosts.