ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley" <jhur...@hortonworks.com>
Subject Re: Review Request 41259: HiveServer Upgrade Fails Because Of Missing Kerberos Properties
Date Fri, 11 Dec 2015 18:04:34 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41259/
-----------------------------------------------------------

(Updated Dec. 11, 2015, 1:04 p.m.)


Review request for Ambari, Alejandro Fernandez, Nate Cole, and Sumit Mohanty.


Bugs: AMBARI-14343
    https://issues.apache.org/jira/browse/AMBARI-14343


Repository: ambari


Description
-------

When upgrading Hive from HDP 2.1 to HDP 2.3, Hive server will not start correctly if it has
been Kerberized. This is because new properties introduced in HDP 2.2 and 2.3 are not being
calculated and set on {{hive-site}}.

- If *not* kerberized, then we do nothing
- If Kerberized
{code}
"hive.cluster.delegation.token.store.class": "org.apache.hadoop.hive.thrift.ZooKeeperTokenStore",
"hive.zookeeper.quorum": "server1:2182,server2:2181,server2:2181"
"hive.cluster.delegation.token.store.zookeeper.connectString": "server1:2182,server2:2181,server2:2181"
{code}


Diffs (updated)
-----

  ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/HiveKerberosConfigAction.java
PRE-CREATION 
  ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/YarnConfigCalculation.java
5953553 
  ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/ZooKeeperQuorumCalculator.java
PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.1/upgrades/nonrolling-upgrade-2.3.xml 015284d

  ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/config-upgrade.xml 1eab4ca 
  ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/config-upgrade.xml 51c6029 
  ambari-server/src/test/java/org/apache/ambari/server/serveraction/upgrades/HiveKerberosConfigActionTest.java
PRE-CREATION 

Diff: https://reviews.apache.org/r/41259/diff/


Testing
-------

mvn clean test


Thanks,

Jonathan Hurley


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message