Administering Ambari
Also available as:
PDF
loading table of contents...

Setting up Ambari to use an Internet proxy server

To access public software repositories using the Internet, Ambari should use a proxy server.

If you plan to use public repositories (repositories available on the Internet) for installing Apache Ambari and deploying Hadoop components in your cluster, you must provide Ambari and the hosts in the cluster Internet access to obtain the software from those repositories. Specifically:

  • Ambari Server: uses Internet access to validate the repositories.
  • yum (or an equivalent, OS-specific package manager): performs the software installation from the repositories.
Therefore, if your environment requires use of an Internet proxy server for access, you must:
  1. Configure Ambari Server to use a proxy server.
  2. Configure yum on all cluster hosts to use that proxy server.

Ambari can install software if you have no Internet access. If you have no Internet access (via a proxy server or otherwise), you can use local repositories for installing the cluster software. In that case, configuring Ambari to use a proxy server is not required. However, Ambari and the hosts in the cluster must have access to your local repositories.

Defining a proxy server, username and password in /etc/yum.conf means all users of yum connect to the proxy server with those details. Please consult your system administrators and refer to your operating system documentation for more details on this configuration and possible alternatives.