Srimanth Gunturi created AMBARI-12195:
-----------------------------------------

             Summary: 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


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)

Reply via email to