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 DA6EE184B3 for ; Tue, 30 Jun 2015 19:52:04 +0000 (UTC) Received: (qmail 24541 invoked by uid 500); 30 Jun 2015 19:52:04 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 24505 invoked by uid 500); 30 Jun 2015 19:52:04 -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 24492 invoked by uid 99); 30 Jun 2015 19:52:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jun 2015 19:52:04 +0000 Date: Tue, 30 Jun 2015 19:52:04 +0000 (UTC) From: "Hadoop QA (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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:comment-tabpanel&focusedCommentId=14608955#comment-14608955 ] Hadoop QA commented on AMBARI-12195: ------------------------------------ {color:green}+1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12742860/AMBARI-12195.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files. {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/3320//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3320//console This message is automatically generated. > 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)