Skip to main content
aval
Gold ⭐️
January 27, 2022
Solved

CDP trial adding clusters failing

Cluster manager looks fine

Ubuntu 20.04, bare metal host. No SElinux, no firewall

The agent log says

BEGIN sudo dpkg -l openjdk8 | grep -E '^ii[[:space:]]*openjdk8[[:space:]]*'
dpkg-query: no packages found matching openjdk8
END (1)
BEGIN sudo apt-cache show openjdk8
E: No packages found

___________

If you skip JDK installation in the wizard, it fails with

BEGIN sudo dpkg -l cloudera-manager-agent | grep -E '^ii[[:space:]]*cloudera-manager-agent[[:space:]]*'
dpkg-query: no packages found matching cloudera-manager-agent

 

Any clues?

aval
avalAnswer
Gold ⭐️
March 8, 2022

Thanks for all the input.

We reinstalled ubuntu 20.04 and started fresh. It failed again but this time the log showed that curl was missing on the machine. Manually installed curl and basically monitored the logs in /var/tmp for the nodes to push along any small issues. Finally we got the cluster installed. However, it still had some health monitoring and inconsistencies when installing services.

 

Finally, we dropped Ubuntu and went with centOS 7. Had better luck with that, the errors were more manageable. Anyone going though this I think Ubuntu 20.04 cluster scripts/error messages are a bit immature, go with RHEL if you can.

Also, take any health warning reported by the cloduera manager seriously like "swappiness". They are "Warnings" but will save you a ton of time if addressed ahead of time.

8 replies

GangWar
Platinum ⭐️⭐️
Platinum ⭐️⭐️
January 27, 2022

@aval What is the repo content you are having in the repo file? 

Translate
Cheers! Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.
aval
avalAuthor
Gold ⭐️
January 27, 2022

repos has mostly empty folder with blank /unbuntu-focal/cloudera.manager.list

Translate
aval
avalAuthor
Gold ⭐️
January 28, 2022

This is the first cluster I'm adding. 

I'm installing per this reference:

https://docs.cloudera.com/cdp-private-cloud-base/7.1.7/installation/topics/cdpdc-trial-installation.html

 

So far I have the cluster manager setup and I'm trying to follow the next set of instructions to add a cluster. 

 

Translate
massa
Silver ⭐️⭐️
March 8, 2022

i also got this error on ubuntu 20.04

Translate
aval
avalAuthorAnswer
Gold ⭐️
March 8, 2022

Thanks for all the input.

We reinstalled ubuntu 20.04 and started fresh. It failed again but this time the log showed that curl was missing on the machine. Manually installed curl and basically monitored the logs in /var/tmp for the nodes to push along any small issues. Finally we got the cluster installed. However, it still had some health monitoring and inconsistencies when installing services.

 

Finally, we dropped Ubuntu and went with centOS 7. Had better luck with that, the errors were more manageable. Anyone going though this I think Ubuntu 20.04 cluster scripts/error messages are a bit immature, go with RHEL if you can.

Also, take any health warning reported by the cloduera manager seriously like "swappiness". They are "Warnings" but will save you a ton of time if addressed ahead of time.

Translate
massa
Silver ⭐️⭐️
March 9, 2022

it worked after i install the curl😀 Thanks!

Translate