Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Running a CSD as a particular user while using a single-user-mode

avatar
Explorer

As per this page: http://www.cloudera.com/documentation/enterprise/latest/topics/install_singleuser_reqts.html, "the Cloudera Manager Agent and all the processes run by services managed by Cloudera Manager are started as a single configured user and group".

 

So in this case, if I have configured my Parcel/CSD using runAs (https://github.com/cloudera/cm_ext/wiki/Service-Descriptor-Language-Reference#runas), what happens if I am using single-user-mode? Does that override the individual service settings for runAs?

1 ACCEPTED SOLUTION

avatar
When using Single User Mode, all processes are always launched as that single user, and the process user and group settings are ignored.

View solution in original post

5 REPLIES 5

avatar
When using Single User Mode, all processes are always launched as that single user, and the process user and group settings are ignored.

avatar
Explorer

Is there a way to propagate this single-user-mode setting through a parcel or a csd? I couldn't find anything specific in the documentation so probably not.

avatar
I don't think there's a way to detect it right now. You can only see what user you're configured to run as (which will be the single user when in single-user-mode).

May I ask why you'd like to detect this?

avatar
Explorer

I meant to ask if there is a way to enable this setting through a parcel or csd. But since there is so much configuration required, I guess not.

I am just looking at different options while creating the installer!

avatar
I see. Single User Mode is a CM server setting. There's no way for a CSD or Parcel to change a CM server setting, but it can be set via the REST API. If you are wrapping the CM installation and want to turn on single user mode, you can also make that REST call, but keep in mind there's quite a few other things you'd need to handle as discussed in the documentation you already linked (http://www.cloudera.com/documentation/enterprise/latest/topics/install_singleuser_reqts.html).