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 5A62E18A5D for ; Fri, 25 Sep 2015 23:02:06 +0000 (UTC) Received: (qmail 40966 invoked by uid 500); 25 Sep 2015 23:02:06 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 40899 invoked by uid 500); 25 Sep 2015 23:02:06 -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 40883 invoked by uid 99); 25 Sep 2015 23:02:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2015 23:02:06 +0000 Date: Fri, 25 Sep 2015 23:02:05 +0000 (UTC) From: "Yusaku Sako (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-12195) HiveServer2 should pass correct version to the deregister command during RU 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-12195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yusaku Sako updated AMBARI-12195: --------------------------------- Fix Version/s: (was: 2.1.2) 2.1.0 > HiveServer2 should pass correct version to the deregister command during RU > --------------------------------------------------------------------------- > > Key: AMBARI-12195 > URL: https://issues.apache.org/jira/browse/AMBARI-12195 > Project: Ambari > Issue Type: Bug > Components: contrib > Affects Versions: 2.1.0 > Reporter: Srimanth Gunturi > Assignee: Srimanth Gunturi > Fix For: 2.1.0 > > Attachments: AMBARI-12195.patch > > > During RU when we restart HiveServer2 component, we _deregister_ the old version by providing the HDP version instead of the Hive version - due to which deregister does not work properly. > {code} > hive --config /usr/hdp/current/hive-server2/conf/conf.server --service hiveserver2 --deregister 2.3.0.0-2458 > {code} > We should provide the correct Hive version when above command is called. This could be got from running {{hive --version}} and parsing the output. > {noformat} > # hive --version > Hive 1.2.1.2.3.0.0-2466 > Subversion git://ip-10-0-0-89.ec2.internal/grid/0/jenkins/workspace/HDP-dal-centos6/bigtop/build/hive/rpm/BUILD/hive-1.2.1.2.3.0.0 -r 63b17d6cb03530be6dc7f44cbbf21eb0d14cd0b3 > Compiled by jenkins on Wed Jun 24 10:29:28 EDT 2015 > From source with checksum b0e0440f018a0ef995ed5208e4515099 > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)