Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Error while Installing CDH 5.3.

Solved Go to solution

Error while Installing CDH 5.3.

New Contributor

We are getting following error at the last step (Deploying client configuration) of the Installation.  

We have 2 nodes in cluster and each of the nodes have several roles assigned to them. We are not getting any error message related to this issue in any of the logs. We have followed steps mentioned in Installation Path A.

 

Please suggest. We are stuck.

 

Failed to deploy client configuration to the cluster.

Failed to execute command Deploy Client Configuration on service HDFS

Failed to execute command Deploy Client Configuration on service YARN (MR2 Included)

Failed to execute command Deploy Client Configuration on service Hive

Failed to execute command Deploy Client Configuration on service Spark

 

Also let us know in case more details are required.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Error while Installing CDH 5.3.

New Contributor

Thanks for the suggestion. Got following error in error log. Also made changes in /etc/sudoers file and it worked.

For sudo: sorry, you must have a tty to run sudo

7 REPLIES 7

Re: Error while Installing CDH 5.3.

Rising Star
JayantSahu,

What do you see in the CM agent log? It is usually being located in
/var/log/cloudera-scm-agent/

Re: Error while Installing CDH 5.3.

New Contributor

Thanks for the suggestion. Got following error in error log. Also made changes in /etc/sudoers file and it worked.

For sudo: sorry, you must have a tty to run sudo

Re: Error while Installing CDH 5.3.

Explorer

Hi Jayanth,

 

Can you please let me know what changes you made in /etc/sudoers file, I am getting same error and not able to resolve for 2days.

 

I disabled

#Defaults    requiretty

 

but getting following error.

sudo: no tty present and no askpass program specified

Re: Error while Installing CDH 5.3.

Super Guru

Your error is slightly different and indicates another cause.  

 

If you are are using single user mode, then see this:

 

http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/install_singleuser_reqt...

 

Note the Configuration Steps Before Running the Installation Wizard section:

 

Even if you are not, I think this maybe relevant:

 

  cloudera-scm ALL=(ALL) NOPASSWD: ALL

 

Setting NOPASSWD on the user (in the sudoers file) that you you specified in the installation wizard will likely resolve the issue you see.

 

- Ben

Highlighted

Re: Error while Installing CDH 5.3.

Explorer

I didn't folow those steps before enabling single user mode, Can i uninstall everything and resinstall without singe user mode? will that cause any issues?

Re: Error while Installing CDH 5.3.

Explorer

1. Is it possible to apply the   cloudera-scm ALL=(ALL) NOPASSWD: ALL setting and continue with the installation.

2. I install in AWS using a Centos AMI. should I configure for the cloudera-scm user or the ec2-user user?

 

Thanks

 

 

Re: Error while Installing CDH 5.3.

New Contributor

hi,
can u please tell me what changes did u make in th sudoers file?

thnks