HortonWorks (HDP) - Hadoop Cluster Installation steps


Steps to Install Hortonworks (HDP) - Hadoop cluster

(with continution to my previous post)

Hortonworks

  -- Install Ambari-Server          
    -- WebUI of Ambari
     * Install and configure all the ecosystem components and services
    -- HDP ( Hortonworks distribution of Hadoop)
     Note: need fully qualified domain name (fqdn) of all the hosts
-----------------------------------------------

What is Ambari ?

Ambari enables Hadoop Administrators to:

Provision the Hadoop Cluster

  * Ambari provides a step-by-step wizard for installing Hadoop services across any number of hosts.
  * Ambari handles configuration of Hadoop services for the cluster.

Manage the Hadoop Cluster

  * Ambari provides central management for starting, stopping, and reconfiguring Hadoop services across the entire cluster.

Monitor the Hadoop Cluster

  * Ambari provides a dashboard for monitoring health and status of the Hadoop cluster.

--------------------------------------------------------------------------------------------


AMBARI :

 * components of ambari

  - ambari-server
  - ambari-agent

 Step1: Installing Ambari-server and Ambari-agent:

(Add ambari repositories to ubuntu repositories)
        * sudo apt-get -y update
* cd /etc/apt/sources.list.d
* sudo wget http://public-repo-1.hortonworks.com/ambari/ubuntu12/2.x/updates/2.1.2/ambari.list
* sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD
* sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 B9733A7A07513CAD
* sudo apt-get -y update
        * sudo apt-get -y install ambari-server
* sudo apt-get -y install ambari-agent

Note: dependencies for ambari-server
       -- python (all the scripts to cluster installation is in python)
   -- postgress sql (ambari based configurations would be saved in postgress)
   ( both would be installed automatically, if not there)
 

Step 2: Setup ambari-server.

     * sudo ambari-server setup
      (custom configurations on username, passwords for ambari, java version to be used)
 
or

     * sudo ambari-server setup -s
      (default configuration on username, passwords for ambari, java version to be used)
       default username : admin 
       default password : admin

Check the Ambari server status:

     * sudo ambari-server status
     * sudo ambari-agent status

If the services are not running, Start the ambari-server and ambari-agent
     * sudo ambari-server start
     * sudo ambari-agent start
 
note: start ambari-agent in all machines which are needed to create the Hadoop cluster.

Check: once ambari-server is running, check in UI on 8080 port.
 
Ambari UI  :  http://<hostIP>:8080
      username: admin
      password: admin

Then, you can create and deploy the Hadoop cluster through the AMBARI UI.