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 A92D4200B17 for ; Tue, 21 Jun 2016 22:02:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A7CC3160A6A; Tue, 21 Jun 2016 20:02:59 +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 F1848160A07 for ; Tue, 21 Jun 2016 22:02:58 +0200 (CEST) Received: (qmail 36249 invoked by uid 500); 21 Jun 2016 20:02:58 -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 36230 invoked by uid 99); 21 Jun 2016 20:02:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2016 20:02:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1592E2C1F60 for ; Tue, 21 Jun 2016 20:02:58 +0000 (UTC) Date: Tue, 21 Jun 2016 20:02:58 +0000 (UTC) From: "Alejandro Fernandez (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-17280) RU to write out client configs that are dependencies of Hive, ATS, and Oozie during upgrades that change configs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 21 Jun 2016 20:02:59 -0000 [ https://issues.apache.org/jira/browse/AMBARI-17280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alejandro Fernandez updated AMBARI-17280: ----------------------------------------- Attachment: AMBARI-17280.branch-2.4.patch AMBARI-17280.trunk.patch > RU to write out client configs that are dependencies of Hive, ATS, and Oozie during upgrades that change configs > ---------------------------------------------------------------------------------------------------------------- > > Key: AMBARI-17280 > URL: https://issues.apache.org/jira/browse/AMBARI-17280 > Project: Ambari > Issue Type: Bug > Components: stacks > Affects Versions: 2.2.0 > Reporter: Ana Gillan > Assignee: Alejandro Fernandez > Priority: Critical > Fix For: 2.4.0 > > Attachments: AMBARI-17280.branch-2.4.patch, AMBARI-17280.trunk.patch > > > During RU, HiveServer2 is restarted but the newer tez configs have not yet been saved, which is incorrect because Hive has a dependency on Tez. > This is important when configs change during a major stack upgrade, e.g., HDP 2.4 -> 2.5. What happens today is, > * Install packages generates /etc/tez/2.5.0.0-1/0 and copies the configs from /etc/tez/2.4.0.0-1/0/ to the new folder > * If configs change during RU, then Hive is restarted and the classpath means that it will pick up the older tez configs from the new /etc/tez/2.5.0.0-1/0 folder > This problem exists for all of these components: > HiveServer: depends on Tez and MapReduce clients > ATS: depends on Tez and Spark clients > Oozie: depends on Tez, Spark, and MapReduce clients > This problem only exists when configs change (so crossing major stack version) and during RU (because it is allowed to change configs during the middle of restarting services). -- This message was sent by Atlassian JIRA (v6.3.4#6332)