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 93C30180B1 for ; Mon, 8 Feb 2016 20:05:40 +0000 (UTC) Received: (qmail 97342 invoked by uid 500); 8 Feb 2016 20:05:40 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 97117 invoked by uid 500); 8 Feb 2016 20:05:40 -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 96553 invoked by uid 99); 8 Feb 2016 20:05:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Feb 2016 20:05:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DDAD22C14F4 for ; Mon, 8 Feb 2016 20:05:39 +0000 (UTC) Date: Mon, 8 Feb 2016 20:05:39 +0000 (UTC) From: "Hadoop QA (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-14961) Ambari overwrites auth_to_local rules in core-site.xml 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-14961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15137579#comment-15137579 ] Hadoop QA commented on AMBARI-14961: ------------------------------------ {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12786850/AMBARI-14961.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in ambari-server. Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/5263//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/5263//console This message is automatically generated. > Ambari overwrites auth_to_local rules in core-site.xml > ------------------------------------------------------ > > Key: AMBARI-14961 > URL: https://issues.apache.org/jira/browse/AMBARI-14961 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.2.0 > Reporter: Dmitry Lysnichenko > Assignee: Dmitry Lysnichenko > Fix For: 2.2.2 > > Attachments: AMBARI-14961.patch > > > As part of the kerberization process, a specific auth_to_local ruleset is used. > The customer uses the "Manual" method of Kerbrizing their clusters. The addition of the custom auth_to_local rules is added as a step in the process. > We found that during certain operations (such as moving the NameNode using the Ambari wizard), many services such as HDFS fail to restart. Upon examination of the failure it was revealed that Ambari is overwriting / modifying the custom auth_to_local rules to something completely different. The change is getting pushed to the nodes and the services fail to start up. > 1) Secure the cluster using the "Manual" process as outlined in the Ambari documentation. > 2) Add the custom auth_to_local rules after the cluster is kerberized. > 3) Attempt to peform an operation such as moving a NameNode. > Whenever services try to start / restart they fail. The logs from the respective services show failures pointing to incorrect auth_to_local settings. > auth_to_local rules do not get modified or overwritten by ambari. > Depending on the failure, we have been able to work around it doing one of two things: > 1) Manually edit the core-site.xml where the service failed to start and start the service from the command line. > 2) Go back into the Ambari UI, fix the auth_to_local rules, save the config, then restart the respective services. -- This message was sent by Atlassian JIRA (v6.3.4#6332)