Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 22E5A200C06 for ; Fri, 27 Jan 2017 16:44:35 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2196B160B5B; Fri, 27 Jan 2017 15:44:35 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6D0E4160B47 for ; Fri, 27 Jan 2017 16:44:34 +0100 (CET) Received: (qmail 57652 invoked by uid 500); 27 Jan 2017 15:44:33 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 57643 invoked by uid 99); 27 Jan 2017 15:44:33 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jan 2017 15:44:33 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 272881A05CA for ; Fri, 27 Jan 2017 15:44:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id XZmRz3rTAEek for ; Fri, 27 Jan 2017 15:44:32 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 8E0825F24E for ; Fri, 27 Jan 2017 15:44:31 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E1E41E030A for ; Fri, 27 Jan 2017 15:44:25 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2274525289 for ; Fri, 27 Jan 2017 15:44:25 +0000 (UTC) Date: Fri, 27 Jan 2017 15:44:25 +0000 (UTC) From: "Hadoop QA (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-19524) Use stack-level Atlas conf directory instead of hard-coded /etc/atlas/conf path MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 27 Jan 2017 15:44:35 -0000 [ https://issues.apache.org/jira/browse/AMBARI-19524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15843019#comment-15843019 ] Hadoop QA commented on AMBARI-19524: ------------------------------------ {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12849702/AMBARI-19524.1.patch against trunk revision . {color:red}-1 patch{color}. Top-level trunk compilation may be broken. Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/10287//console This message is automatically generated. > Use stack-level Atlas conf directory instead of hard-coded /etc/atlas/conf path > ------------------------------------------------------------------------------- > > Key: AMBARI-19524 > URL: https://issues.apache.org/jira/browse/AMBARI-19524 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.4.0 > Environment: All > Reporter: Vishal Suvagia > Assignee: Vishal Suvagia > Fix For: 2.5.0 > > Attachments: AMBARI-19524.1.patch, AMBARI-19524_branch-2.5.patch, AMBARI-19524_trunk.patch > > > This is a bug that should have been fixed in Ambari 2.4 but showed up too late in the release and has repercussions to test it. > Basically, status_params.py for Atlas service in Ambari sets > {code} > conf_dir = os.environ['METADATA_CONF'] if 'METADATA_CONF' in os.environ else '/etc/atlas/conf' > {code} > This is technically incorrect since /etc/atlas/conf is a symlink to /usr/hdp/current/atlas-client/conf, which is then a symlink to /etc/atlas/$some_version/0 > During Rolling Upgrade, > 1. Atlas Server is stopped, new configs are written to /etc/atlas/$new_version/0, then symlink is changed so that /usr/hdp/current/atlas-server points to new version, and Atlas Server is started > At this point, /etc/atlas/conf -> /usr/hdp/current/atlas-client/conf (which is still using the old version) since the client has not yet been updated. > 2. Atlas Client has new configs written to /etc/atlas/$new_version/0, then symlink is changed so that /usr/hdp/current/atlas-client points to new version > Basically, we need to look at the usages of conf_dir and make sure it is correct during all scenarios. -- This message was sent by Atlassian JIRA (v6.3.4#6332)