[
https://issues.apache.org/jira/browse/AMBARI-12280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14614129#comment-14614129
]
Hadoop QA commented on AMBARI-12280:
------------------------------------
{color:green}+1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12743610/AMBARI-12280.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/3339//testReport/
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/3339//console
This message is automatically generated.
> HiveServer2 upgrade/downgrade should deregister old server after new one is
> started
> -----------------------------------------------------------------------------------
>
> Key: AMBARI-12280
> URL: https://issues.apache.org/jira/browse/AMBARI-12280
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.1.0
> Reporter: Srimanth Gunturi
> Assignee: Srimanth Gunturi
> Priority: Critical
> Fix For: 2.1.0
>
> Attachments: AMBARI-12280.patch
>
>
> During upgrade/downgrade, the deregister is happening before the new HS2 is
> started. This can lead to a case where there is no HS2 up and running. The
> order needs to be fixed, to first start target version of HS2 and then do the
> deregister.
> 1. Switch hive-server2 to the new software version, start the new process,
> and deregister the old version of hive-server2:
> Since the current version would have changed before hive version is obtained
> for deregister command, the version should be obtained using the HDP
> versioned path.
> /usr/hdp/$HDP_VERSION/hive/bin/hive --version
> It will be safer to use the full path to hive for this, instead of relying on
> the $PATH variable setting.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)