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 EB21F17B52 for ; Fri, 22 May 2015 17:41:17 +0000 (UTC) Received: (qmail 96984 invoked by uid 500); 22 May 2015 17:41:17 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 96948 invoked by uid 500); 22 May 2015 17:41:17 -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 96936 invoked by uid 99); 22 May 2015 17:41:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 May 2015 17:41:17 +0000 Date: Fri, 22 May 2015 17:41:17 +0000 (UTC) From: "Srimanth Gunturi (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-11261) Stack advisor should handle when 'ranger-hive-plugin-properties' not provided 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-11261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srimanth Gunturi updated AMBARI-11261: -------------------------------------- Attachment: (was: AMBARI-11261.patch) > Stack advisor should handle when 'ranger-hive-plugin-properties' not provided > ----------------------------------------------------------------------------- > > Key: AMBARI-11261 > URL: https://issues.apache.org/jira/browse/AMBARI-11261 > 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-11261.patch, AMBARI-11261_2.patch > > > When Ranger is not installed, 'ranger-hive-plugin-properties' configs are not provided. However the backend stack-advisor always expects them. > Server returns: > {noformat} > { > "status" : 500, > "message" : "Stack Advisor reported an error: TypeError: 'NoneType' object is unsubscriptable\nStdOut file: /var/run/ambari-server/stack-recommendations/58/stackadvisor.out\n\nStdErr file: /var/run/ambari-server/stack-recommendations/58/stackadvisor.err" > } > {noformat} > Stack-advisor should tolerate when 'ranger-hive-plugin-properties' are not provided. -- This message was sent by Atlassian JIRA (v6.3.4#6332)