ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez" <afernan...@hortonworks.com>
Subject Re: Review Request 41259: HiveServer Upgrade Fails Because Of Missing Kerberos Properties
Date Fri, 11 Dec 2015 17:51:52 GMT

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

Ship it!



ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/YarnConfigCalculation.java
(line 66)
<https://reviews.apache.org/r/41259/#comment169711>

    Nice


- Alejandro Fernandez


On Dec. 11, 2015, 4:55 p.m., Jonathan Hurley wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/41259/
> -----------------------------------------------------------
> 
> (Updated Dec. 11, 2015, 4:55 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
> -----
> 
>   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/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