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.

deactive parcel after restart cloudera-scm-agent

SOLVED Go to solution

deactive parcel after restart cloudera-scm-agent

Rising Star

Hi,

I have a cluster consist of 7 nodes. Ony ONE of the node delete the activited parcels every time after restart. It delete all the files in /opt/cloudera/parcels except the soft links.

Could anyone help me?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: deactive parcel after restart cloudera-scm-agent

Expert Contributor

Hello, 

 

This can happen if this host was never properly added to the cluster. The agent is stateless by design and it relies on the model state provided to it by Cloudera Manager. You cannot manually deploy parcels on host which are managed by Cloudera Manager. Cloudera Manager will simply instruct the agent to remove the parcels.

 

When the host comes up you should review the state of operations in Cloudera Manager. Please be sure to visit the Parcel management page and see weather or not the system is attempting to deploy Parcels on any host. If this is not happening, you may need to remove the host from the cluster and re-add it. It may also be possible to force parcel distribution through the CM api despite it's present status.

 

Please review our API documentation. Specifically the parcel commands.

 

http://cloudera.github.io/cm_api/apidocs/v14/index.html

 

Customer Operations Engineer | Security SME | Cloudera, Inc.
1 REPLY 1
Highlighted

Re: deactive parcel after restart cloudera-scm-agent

Expert Contributor

Hello, 

 

This can happen if this host was never properly added to the cluster. The agent is stateless by design and it relies on the model state provided to it by Cloudera Manager. You cannot manually deploy parcels on host which are managed by Cloudera Manager. Cloudera Manager will simply instruct the agent to remove the parcels.

 

When the host comes up you should review the state of operations in Cloudera Manager. Please be sure to visit the Parcel management page and see weather or not the system is attempting to deploy Parcels on any host. If this is not happening, you may need to remove the host from the cluster and re-add it. It may also be possible to force parcel distribution through the CM api despite it's present status.

 

Please review our API documentation. Specifically the parcel commands.

 

http://cloudera.github.io/cm_api/apidocs/v14/index.html

 

Customer Operations Engineer | Security SME | Cloudera, Inc.