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

KeyError when Adding Custom Ambari Service

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Blocker
    • Resolution: Information Provided
    • 2.7.5
    • None
    • ambari-web
    • 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

            Unassigned Unassigned
            stevendfheinz Steven Matison
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: