Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 05-19-2017 03:28 AM
Is there a way to use blueprints assuming we have pre-created service accounts (created in AD/Centrify), and if so, which I could use some help. I assume that in the blueprints I could add properties something like this:
"spark_user" : "svcspark",
"spark_group" : "svcspark"
Part 1 of this question -- Will that cause Spark to run as svcspark?
Also, related to this, I noticed there are now 3 options (checkboxes) in Ambari 2.5.0.3 which may relate to pre-created accounts. These are found under Misc when adding a service:
Part 2 of this question -- Can these be set in blueprints and if so, how?
Our plan is to use blueprints but we need to create all service accounts in AD/Centrify before Ambari or services are installed.
Thanks
Created 05-19-2017 02:02 PM
Hi @james.jones
The answer is Yes to both your questions.
Regarding Spark user and group, in "spark-env" block of "configurations" you can set exactly what you said:
"spark_user" : "svcspark", "spark_group" : "svcspark"
and yes, Spark will run as svcspark. Regarding Part 2, those settings can be provided in the "cluster-env" block. Property names and defaults are
"ignore_groupsusers_create" : "false", "override_uid" : "true", "sysprep_skip_create_users_and_groups" : "false",
The best way to familiarize with these and other "obscure" properties is to export a blueprint from an existing cluster, and explore cluster-env and other config blocks. HTH.
Created 05-19-2017 02:02 PM
Hi @james.jones
The answer is Yes to both your questions.
Regarding Spark user and group, in "spark-env" block of "configurations" you can set exactly what you said:
"spark_user" : "svcspark", "spark_group" : "svcspark"
and yes, Spark will run as svcspark. Regarding Part 2, those settings can be provided in the "cluster-env" block. Property names and defaults are
"ignore_groupsusers_create" : "false", "override_uid" : "true", "sysprep_skip_create_users_and_groups" : "false",
The best way to familiarize with these and other "obscure" properties is to export a blueprint from an existing cluster, and explore cluster-env and other config blocks. HTH.
Created 05-19-2017 02:06 PM
Awesome! Thank you.
Created 08-17-2017 10:02 PM
Can someone explain about these settings functionality? especially No.3, what does ambari do when we check them?