Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25522

KeyError when Adding Custom Ambari Service

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: 2.7.5
    • Fix Version/s: None
    • Component/s: ambari-web
    • Labels:
      None

      Description

      When attempting to add any custom service to ambari  (user group management on) the following error occurs:

      KeyError: u'serviceuser'

      or example:

      KeyError: u'flink'

      A current bulky work around is a python to disable user group management:

      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

       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.

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stevendfheinz Steven Matison
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: