You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Attila Magyar (JIRA)" <ji...@apache.org> on 2018/04/04 14:16:00 UTC

[jira] [Created] (AMBARI-23459) ServiceAdvisor KeyError during kerberization of OneFS

Attila Magyar created AMBARI-23459:
--------------------------------------

             Summary: ServiceAdvisor KeyError during kerberization of OneFS
                 Key: AMBARI-23459
                 URL: https://issues.apache.org/jira/browse/AMBARI-23459
             Project: Ambari
          Issue Type: Improvement
          Components: ambari-agent
    Affects Versions: 2.7.0
            Reporter: Attila Magyar
            Assignee: Attila Magyar
             Fix For: 2.7.0


*Error message:* Stack Advisor reported an error. Exit Code: 2. Error: KeyError: 'onefs'

StdOut file: /var/run/ambari-server/stack-recommendations/5/stackadvisor.out

 

StdErr file: /var/run/ambari-server/stack-recommendations/5/stackadvisor.err

 

Stackadvisor.err shows the following traceback:

 

2018-04-03 16:09:09,711 ERROR HDP26StackAdvisor getCapacitySchedulerProperties: - Couldn't retrieve 'capacity-scheduler' from services.

Traceback (most recent call last):

  File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 167, in <module>

    main(sys.argv)

  File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 116, in main

    result = stackAdvisor.recommendConfigurations(services, hosts)

  File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py", line 1565, in recommendConfigurations

    serviceAdvisor.getServiceConfigurationRecommendations(configurations, clusterSummary, services, hosts)

  File "/var/lib/ambari-server/resources/stacks/HDP/2.6/services/ONEFS/service_advisor.py", line 112, in getServiceConfigurationRecommendations

    onefs_host = Uri.onefs(services)

  File "/var/lib/ambari-server/resources/stacks/HDP/2.6/services/ONEFS/service_advisor.py", line 41, in onefs

    return self.from_config(configs, 'onefs', 'onefs_host')

  File "/var/lib/ambari-server/resources/stacks/HDP/2.6/services/ONEFS/service_advisor.py", line 45, in from_config

    return Uri(configs['configurations'][config_type]['properties'][property_name])

KeyError: 'onefs'



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)