- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to use custom service accounts, instead of default local service account
- Labels:
-
Apache Ambari
-
Apache Spark
-
Apache Zeppelin
Created 06-12-2017 08:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would to like to install and configure all the services using LDAP service accounts and they are not default local accounts like (hdfs -> opthdfs, hive -> opthive etc..). I'm installing using Ambari. I was able to replace most of the default service account with the LDAP service accounts. But, could not find a way to use custom service accounts for Livy server and Zeppelin.
Is there any way to use custom service account for these services using Ambari?
Created 06-15-2017 01:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After the installation use following steps to replace default service account with custom service account:
For zeppelin:
1. Stop zeppelin service from Ambari.
2. Change the zeppelin user from Ambari server using configs.sh (this command is only available from ambari-server host):
# /var/lib/ambari-server/resources/scripts/configs.sh -u <AmbariAdminUser> -p <AmbariAdminUserPassword> set localhost <Cluster-name> zeppelin-env zeppelin_user <ZEP-USER>
3. Set the ownership on zeppelin log and run directories.
# chown -R <ZEP-USER>:hadoop /var/log/zeppelin # chown -R <ZEP-USER>:hadoop /var/run/zeppelin
4. Start zeppelin service from Ambari
Created 06-15-2017 01:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After the installation use following steps to replace default service account with custom service account:
For zeppelin:
1. Stop zeppelin service from Ambari.
2. Change the zeppelin user from Ambari server using configs.sh (this command is only available from ambari-server host):
# /var/lib/ambari-server/resources/scripts/configs.sh -u <AmbariAdminUser> -p <AmbariAdminUserPassword> set localhost <Cluster-name> zeppelin-env zeppelin_user <ZEP-USER>
3. Set the ownership on zeppelin log and run directories.
# chown -R <ZEP-USER>:hadoop /var/log/zeppelin # chown -R <ZEP-USER>:hadoop /var/run/zeppelin
4. Start zeppelin service from Ambari
