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 8E622200B16 for ; Mon, 20 Jun 2016 20:18:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8D313160A55; Mon, 20 Jun 2016 18:18:00 +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 AF911160A66 for ; Mon, 20 Jun 2016 20:17:59 +0200 (CEST) Received: (qmail 29431 invoked by uid 500); 20 Jun 2016 18:17: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 29366 invoked by uid 99); 20 Jun 2016 18:17:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2016 18:17:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 391162C1F64 for ; Mon, 20 Jun 2016 18:17:58 +0000 (UTC) Date: Mon, 20 Jun 2016 18:17:58 +0000 (UTC) From: "Jonathan Hurley (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-17319) Provide More Warnings and Messages About Hive's Port Change During Upgrade MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 20 Jun 2016 18:18:00 -0000 Jonathan Hurley created AMBARI-17319: ---------------------------------------- Summary: Provide More Warnings and Messages About Hive's Port Change During Upgrade Key: AMBARI-17319 URL: https://issues.apache.org/jira/browse/AMBARI-17319 Project: Ambari Issue Type: Bug Components: ambari-server Affects Versions: 2.4.0 Reporter: Jonathan Hurley Assignee: Jonathan Hurley Priority: Critical Fix For: 2.4.0 After upgrading from HDP 2.2.4.2 to HDP 2.3.2, the {{hive.server2.thrift.port}} changed from 10000 to 10010. For users and applications which reference Hive via a direct URL/port combination instead of a discovery URL, they will no longer be able to contact Hive. Due to the timing of the next Ambari release, there is a risk of regression with any attempt to fix this issue. The best option is to provide a more wizard-like approach where Ambari can use the upgrade packs to ask questions pertaining to the upgrade. The results of those questions will be passed along with the upgrade pack when starting an upgrade so that rudimentary decision paths can be taken while performing orchestration. *However, this is out of scope for this release*. Instead, the following tasks can be chosen to be implemented in part or as a whole in an attempt to alleviate this issue. *Recommended* h5. Task 1 (Simple Messages) h6. Development effort: 1 day - A new pre-requisite check will be created which will determine if the upgrade is rolling and if Hive is installed. If both conditions are met, a {{WARNING}} will be triggered which will say something similar to: bq. You have chosen to perform a rolling upgrade and Hive is currently installed. Hive supports rolling upgrades, but its port will change as a result of the upgrade. If this is not the desired behavior, then the port can be changed back to its original value after the upgrade has completed. - A new message will be added and displayed to the user post-finalization. bq. The hive server port has changed as a result of this rolling upgrade. If this port change is not desired, then you can now use Ambari to return hive to its original port. h5. Task 2 (Messages To Alter Configurations) h6. Development effort: 4 days total - A new pre-requisite check will be created which will determine if the upgrade is rolling and if Hive is installed. If both conditions are met, a {{WARNING}} will be triggered which will say something similar to: bq. You have chosen to perform a rolling upgrade and Hive is currently installed. Hive supports rolling upgrades, but its port will change as a result of the upgrade. If this is not the desired behavior, then you can choose to set the {{ambari.upgrade.hive.rolling}} property to {{false}} in {{hive-site}} before continuing with this upgrade. When set to {{false}}, Hive's port will not change during the upgrade, but Hive will incur downtime while it is restarted during the upgrade. - The Hive upgrade scripts will change to look for {{ambari.upgrade.hive.rolling}} and will choose to do a {{stop}} and a {{start}} instead of a {{deregister}} - The XML upgrade packs will be changed to look for {{ambari.upgrade.hive.rolling}} and only change the hive port based on this property being {{true}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)