I have started loving Cloudera 🙂 . So far it is the best administrative tool I have ever used. The deployment tool (Cloudera manager) is robust and user friendly and I believe it has some inbuilt AI to troubleshoot your hadoop cluster more easily.
Thanks to the Cloudera team for their continuous effort for such robust system development.
After installing my first CDH4 hadoop distribution in a single node, I decided to add a new host to the cluster. Cloudera manager is a very smart and easy to understand web tool which you can use to deploy new host in your hadoop environment.
Current configuration of my hadoop cluster
Before starting the new host configuration check whether you can ping that targeted host by hostname otherwise your installation will fail.
To mitigate this issue you can follow the below steps
1. From terminal window enter the below command
Sudoedit /etc/hosts
2. An editor will open. Enter your target hostname and IP as below and save
Hadoop cluster configuration
1. Go to the computer in which you have install CDH4
2. Open browser and enter the url – http://localhost:7180 to open Cloudera manager
3. I am still using the default user name and password which CDH4 will configure while installing the Cloudera manager (User Name: admin, Password: admin)
4. Click on Hosts menu from the top bar of the Cloudera Manager portal
5. Click on Add New Hosts to Cluster
6. Click on continue
7. Enter the IP address of the new host to which you want to install CDH4. You need to install open SSH (https://help.ubuntu.com/10.04/serverguide/openssh-server.html) otherwise the system will not be able to find the targeted host. Click on Search button
8. Select the hostname from the list and click on Continue
9. Select Latest Release of CDH4 and leave the other option as it is and click on continue
10. Enter the root password of the targeted host and click on Continue
11. The system will start installing on that targeted host
12. Based on your network speed it will take some time to complete the installation since it will download the required packages from web. You can see the current status by clicking on Details link
13. After completing the installation you can now see multiple hosts in your hadoop cluster
Add new instance in a service
1. Go to Services and click on the service to which you want to add instance that you have configured newly
2. Click on Instances link and click on Add
3. Select the role you want to assign on the targeted host and click on Continue
4. The role will be added for that service as below
5. Start the Service by selecting that and clicking on Start from Action menu