Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6530617498 for ; Wed, 6 May 2015 18:34:00 +0000 (UTC) Received: (qmail 9198 invoked by uid 500); 6 May 2015 18:34:00 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 9165 invoked by uid 500); 6 May 2015 18:34:00 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 9143 invoked by uid 99); 6 May 2015 18:34:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2015 18:34:00 +0000 Date: Wed, 6 May 2015 18:34:00 +0000 (UTC) From: "Srimanth Gunturi (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMBARI-10969) Recommendations API error on changing hive.server2.authentication. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-10969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srimanth Gunturi resolved AMBARI-10969. --------------------------------------- Resolution: Fixed Committed to trunk > 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 > 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)