Created on 07-28-2014 04:20 PM - edited 09-16-2022 02:03 AM
My environment script has never been sourced or run even though my parcel is at “actived” status for each host. The parcel files were indeed distributed into each host.
I also tried restart the cluster, it was not working. Then I tried to manually source the script in a host, it could work, so the script itself has no problem.
I am wondering if any procedure was missed? Or any naming rule for the script? How can i tell if my parcel's shell script has been sourced by CM?
Created 07-31-2014 02:02 PM
https://github.com/cloudera/cm_ext/wiki/The%20parcel.json%20file#providing-tags
As it discusses, if you want your parcel to affect an existing service, it should provide the 'foo-plugin' tag for that service, or cdh-plugin if you really want to affect all of them.
Only one parcel can provide the required tag ('cdh' in this case), and obviously the CDH parcel provides that.
What is your parcel providing that you want it to affect all services? LZO is a highly unusual example in this regard.
Created 07-30-2014 05:40 PM
finally found the error "Error found before invoking supervisord: Multiple parcels providing required tag: cdh (CDH, [my-parcel-name])".
I indeed put providing field as "cdh". I thought this is the way that could connect my parcel to certain CM managed process.
why doing that prevent a process being restarted?
Created 07-31-2014 02:02 PM
https://github.com/cloudera/cm_ext/wiki/The%20parcel.json%20file#providing-tags
As it discusses, if you want your parcel to affect an existing service, it should provide the 'foo-plugin' tag for that service, or cdh-plugin if you really want to affect all of them.
Only one parcel can provide the required tag ('cdh' in this case), and obviously the CDH parcel provides that.
What is your parcel providing that you want it to affect all services? LZO is a highly unusual example in this regard.
Created 07-31-2014 02:13 PM
Thanks a lot! I have solved this issue and made my parcel working.