Srimanth Gunturi created AMBARI-10969:
-----------------------------------------
Summary: Recommendations API error on changing
hive.server2.authentication.
Key: AMBARI-10969
URL: https://issues.apache.org/jira/browse/AMBARI-10969
Project: Ambari
Issue Type: Bug
Components: contrib
Affects Versions: 2.1.0
Reporter: Srimanth Gunturi
Assignee: Srimanth Gunturi
Fix For: 2.1.0
STR:
* Start install wizard
* Choose Hive to install
* Proceed to Customize Services page
* Select Hive tab
* Change *HiveServer2 Authentication* property value to "Kerberos"
* Change *HiveServer2 Authentication* property value to "None"
ER: Recommendations received without errors.
AR: /recommendations endpoint response with error
{noformat}
Error message: Stack Advisor reported an error: KeyError: 'property_attributes'
StdOut file: /var/run/ambari-server/stack-recommendations/26/stackadvisor.out
StdErr file: /var/run/ambari-server/stack-recommendations/26/stackadvisor.err
{noformat}
StdErr output:
{noformat}
Traceback (most recent call last):
File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 154,
in <module>
main(sys.argv)
File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 110,
in main
result = stackAdvisor.recommendConfigurationDependencies(services, hosts)
File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py",
line 685, in recommendConfigurationDependencies
return self.filterResult(result, services)
File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py",
line 690, in filterResult
self.filterConfigs(result['recommendations']['blueprint']['configurations'],
allRequestedProperties)
File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py",
line 717, in filterConfigs
configs[type]['property_attributes'][name]
KeyError: 'property_attributes'
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)