Skip to main content
ernesto
Silver ⭐️⭐️
June 23, 2021
Solved

Role not started due to unhealthy host static

Hi there,

After reinstalling JDK and restrating cluster I got this error in the master node.

 Someone knows how to recover this host.

Cheers,

 

GangWar
GangWarAnswer
Platinum ⭐️⭐️
June 28, 2021

@ernesto 

 

Spoiler
I run apt remove scm-agent

Means this removed the agent packages.


Then

Spoiler
and apt install scm-agent....

Means this is not trying to connect within Cloudera Repo which is behind paywall hence failing.

The catch is that the running cluster will stay but whenever you try to change things like add host host or other operations it will fails since you need paywall subscription.
In short you cannot add a new host (which is equivalent to installing an agent on some host again).

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.

7 replies

GangWar
Platinum ⭐️⭐️
Platinum ⭐️⭐️
June 25, 2021

@ernesto  What error you are getting? I am not seeing any error description in question. 

 

You should look at agent logs from host and try to hard restart the agent if that help. 

https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/cm_ag_agents.html

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.
ernesto
ernestoAuthor
Silver ⭐️⭐️
June 27, 2021

I was changing jdk on our utility host and it felt on this status "unhealthy host static". Therefore, I could not start any service on this host.  I try to reinstall the scm-agent, as I read in a blog, but I could remove it but not installing. Main reason is that CDH6.3.1 repo disappear and 6.3.2 a licence is required.   I try to add a new host and migrate the roles of the affected host. But also I get the same problem of repos.

Is there a way o correct this problem without a username/password, is there any registration in which I get a free license for that?

Thankx,

Translate
GangWar
Platinum ⭐️⭐️
Platinum ⭐️⭐️
June 28, 2021

@ernesto Since the Paywall expansion. You have to have a valid subscription to access Cloudera Repo. Please see some similar discussion around the same ask. 

Paywall question:

https://community.cloudera.com/t5/Support-Questions/How-do-I-get-repository-credentials/m-p/311145#M224492

https://community.cloudera.com/t5/Support-Questions/https-archive-cloudera-com-cm6-6-2-0-ubuntu1604-displaying/m-p/311060#M224430

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.