You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Myroslav Papirkovskyy (JIRA)" <ji...@apache.org> on 2015/05/06 20:32:00 UTC

[jira] [Commented] (AMBARI-10969) Recommendations API error on changing hive.server2.authentication.

    [ https://issues.apache.org/jira/browse/AMBARI-10969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14531134#comment-14531134 ] 

Myroslav Papirkovskyy commented on AMBARI-10969:
------------------------------------------------

+1. LGTM

> 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
>
>         Attachments: AMBARI-10969.patch
>
>
> 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)