Support Questions

Find answers, ask questions, and share your expertise

Error while Installing CDH 5.3.

avatar
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

avatar
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

View solution in original post

7 REPLIES 7

avatar
Expert Contributor
JayantSahu,

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

avatar
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

avatar
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

avatar
Master 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

avatar
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?

avatar
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

 

 

avatar
New Contributor

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

thnks