You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Dmytro Grinenko (Jira)" <ji...@apache.org> on 2020/11/02 17:46:00 UTC
[jira] [Commented] (AMBARI-25522) KeyError when Adding Custom
Ambari Service
[ https://issues.apache.org/jira/browse/AMBARI-25522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17224833#comment-17224833 ]
Dmytro Grinenko commented on AMBARI-25522:
------------------------------------------
The way how users and groups are defined for the service:
https://github.com/apache/ambari/blob/branch-2.7/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/configuration/zeppelin-env.xml#L31-L64
property-type: USER, GROUP
> KeyError when Adding Custom Ambari Service
> ------------------------------------------
>
> Key: AMBARI-25522
> URL: https://issues.apache.org/jira/browse/AMBARI-25522
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-web
> Affects Versions: 2.7.5
> Reporter: Steven Matison
> Priority: Blocker
>
> When attempting to add any custom service to ambari (user group management on) the following error occurs:
> {noformat}
> KeyError: u'serviceuser'{noformat}
> or example:
> {noformat}
> KeyError: u'flink'{noformat}
> A current bulky work around is a python to disable user group management:
> {code:java}
> python /var/lib/ambari-server/resources/scripts/configs.py -u admin -p admin -n DDP -l hdp.dfheinz.com -t 8080 -a set -c cluster-env -k ignore_groupsusers_create -v true{code}
> I have tried to find a source of the users in ambari metastore, as well as proper/correct source code in the custom service fileset to add/create the user:group requirements. I have not been successful.
> I am currently working on a seamless install of HDP with 3 different Third party services and this is a blocker to this solution.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)