Support Questions

Find answers, ask questions, and share your expertise

deactive parcel after restart cloudera-scm-agent

avatar
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

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

View solution in original post

1 REPLY 1

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