Skip to main content

Cloudera manager Installation on Ubuntu

Steps followed : 

1. change hosts file
2.sudo apt-get install ssh
3. save public keys as 'authorized_keys'
   ssh-keygen
   cd ~/.ssh
   cat id_rsa.pub  >  authorized_keys

4. download cloudera repo from "wget http://archive-primary.cloudera.com/cdh5/one-click-install/precise/amd64/cdh5-repository_1.0_all.deb"
5. install this file using "sudo dpkg -i cdh5-repository_1.0_all.deb"
6. download cloudera install manager from "wget http://archive-primary.cloudera.com/cm5/installer/latest/cloudera-manager-installer.bin"
7. change permission on file "chmod +x cloudera-manager-installer.bin"
8. start the installer "sudo ./cloudera-manager-installer.bin"
9. follow steps and your install is complete.

Errors faced while installtion :

1. After step 8 Errors faced as I had previous Cloudera  installations on my system .
Resolution :
unsinstall the previous installation if any .

-->sudo  /usr/share/cmf/uninstall-cloudera-manager.sh

-->sudo rm /etc/cloudera-scm-server/db.properties

2. While adding cluster through cloud manager(CDH 4) I got installation failed error.  Exhausted available authentication methods.

Resolution :
Follow :https://community.cloudera.com/t5/Cloudera-Manager-Installation/Exhausted-available-authentication-methods/td-p/24518

Edit the sudoer file sudo nano /etc/sudoers ...

root  ALL=(ALL:ALL) ALL

%admin  ALL=(ALL) ALL

%sudo   ALL=(ALL:ALL) ALL

userid   ALL=(ALL)NOPASSWD:ALL  ---(I added this line e-g. ubuntu   ALL=(ALL)NOPASSWD:ALL)

Note - userid is the id through which you are logging to your linux box


You have to login as "another user -e.g ubuntu" by giving your id and password and yes you are done. It won't fail again with the error "Exhausted available......" . I mean that's what happened with me.

Video I followed for the set up :
https://www.youtube.com/watch?v=z0l87tArUDk

Comments

Popular posts from this blog

How to Use Chisanbop (Korean Finger Math) for Basic Addition and Counting | eHow.com

How to Use Chisanbop (Korean Finger Math) for Basic Addition and Counting eHow.com Difficulty: Easy Instructions Step 1 In Chisanbop you'll be using your two hands and ten fingers to represent numbers from 0 to 99. Start out with your hands out in front of you with closed fists. This represents 0. Each finger (not thumb) on your right hand represents 1. To represent 3, just press down three right hand fingers. Your right thumb represents 5. To represent 7, press down your right thumb and 2 right hand fingers. Think of your right hand as the ones or units place (column). Step 2 Your left hand represents the tens place (column). Each finger on your left hand is worth 10. For example, to represent 30, press down three left hand fingers. To represent 38, do the same, but also use your right hand to represent 8 as described above. Your left thumb represents 50. To represent 86, press down your left thumb and three left hand fingers for the 80, and your right thumb and one righ

How to load the sample database into the MariaDB server.

1. Download  the Sample Database  (Source :  https://www.mariadbtutorial.com/getting-started/mariadb-sample-database/  ) 2. unzip the file to a directory e.g.,  c:\mariadb\nation.sql 2.   connect to the MariaDB server  with the  root  user account, type the password and press the   Enter  keyboard. sudo mysql -u root -p Enter password: ******** 3.  Load the database by using the source command: mysql>source c:\mariadb\nation.sql 4.  select the   nation   database and display tables of the database: mysql> use nation; Database changed mysql> show tables ;