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

Should we allow our staff to use social networking sites? Some people say they are dangerous but I can't see how. Can you explain the dangers? > EXPERT RESPONSE There's nothing wrong with using Facebook, other than the potential impact on working time, but that's not a security matter! The issue is in how your staff configures Facebook, and what information they place on it. A few tips to pass on to your staff: Don't allow anyone that isn't part of your network of 'friends' to see your profile. Don't allow non-friends to see your friends. Why? I could easily impersonate one of your friends, fake a new profile, and send you an invite. You accept, thinking a genuine friend has created a new profile, then I'm in your network of friends and can see your profile. Think about what information is in your profile. What would be useful in stealing your identity? Date of birth, address, email address, employer, interests. why does this type of information n...

Backslash on mac

I had been struggling to type back slash ( \) character on mac japanese keyboard as they don't have it printed on the keyboard, and I was doing copy paste all the time from google when i needed to type it until recently a tip came to my rescue , shortcut to backslash on mac japanese keyboard. Alt + ¥  Hope it helps others.