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 9F28417487 for ; Tue, 4 Nov 2014 22:59:34 +0000 (UTC) Received: (qmail 15410 invoked by uid 500); 4 Nov 2014 22:59:34 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 15371 invoked by uid 500); 4 Nov 2014 22:59:34 -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 15224 invoked by uid 99); 4 Nov 2014 22:59:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Nov 2014 22:59:34 +0000 Date: Tue, 4 Nov 2014 22:59:34 +0000 (UTC) From: "Srimanth Gunturi (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-8151) Slider View: /slider/apptypes returns unsecured configs when cluster is secured and ambari-server not restarted 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-8151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14197050#comment-14197050 ] Srimanth Gunturi commented on AMBARI-8151: ------------------------------------------ Fix is to always determine if cluster is secured or not before providing app-types. > Slider View: /slider/apptypes returns unsecured configs when cluster is secured and ambari-server not restarted > --------------------------------------------------------------------------------------------------------------- > > Key: AMBARI-8151 > URL: https://issues.apache.org/jira/browse/AMBARI-8151 > Project: Ambari > Issue Type: Bug > Components: contrib > Affects Versions: 1.7.0 > Reporter: Srimanth Gunturi > Assignee: Srimanth Gunturi > Priority: Critical > Fix For: 1.7.0 > > Attachments: AMBARI-8151.patch > > > {{/slider/apptypes}} returns app-types based on whether security is enabled or not. If security is disabled, it returns app-types with certain configs, and when security is enabled, it returns app-types with another set of configs. > {{/slider/atttypes}} caches whether security is enabled or not. So when app-types are got before security is enabled, followed by enabling of security, it results in unsecured app-types even when security is enabled. -- This message was sent by Atlassian JIRA (v6.3.4#6332)