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


Ship it!




Ship It!

- Alejandro Fernandez


On Feb. 17, 2017, 3:44 p.m., Jonathan Hurley wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/56787/
> -----------------------------------------------------------
> 
> (Updated Feb. 17, 2017, 3:44 p.m.)
> 
> 
> Review request for Ambari, Dmytro Grinenko and Nate Cole.
> 
> 
> Bugs: AMBARI-20065
>     https://issues.apache.org/jira/browse/AMBARI-20065
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Configuration changes made during an EU before pushing the stack forward are 
> not reverted on downgrade. For this reason, all configuration changes done 
> during an EU should be after all services have stopped and the stack has been 
> pushed to the new version.
> 
> # Deployed cluster with Ambari 2.4.2.0-136 and HDP version: 2.5.3.0-37 
> # Upgrade Ambari to 2.5.0.0-863
> # Perform EU to 2.6.0.0 and at finalize screen, start downgrade
> # Let downgrade complete
> # Observe the status of Livy Server after downgrade is successful
> 
> *Result:*
> Livy server reports down and log says:
> {code}
> 17/02/10 15:10:44 INFO LivyServer: Using spark-submit version 1.6.2
> 17/02/10 15:10:46 INFO LivyServer: SPNEGO auth enabled (principal = 
> HTTP/[email protected])
> Exception in thread "main" java.lang.IllegalArgumentException: requirement 
> failed: Kerberos requires livy.server.kerberos.keytab to be provided.
>       at scala.Predef$.require(Predef.scala:233)
>       at com.cloudera.livy.server.LivyServer.runKinit(LivyServer.scala:173)
>       at com.cloudera.livy.server.LivyServer.start(LivyServer.scala:134)
>       at com.cloudera.livy.server.LivyServer$.main(LivyServer.scala:277)
>       at com.cloudera.livy.server.LivyServer.main(LivyServer.scala)
> {code}
> 
> On Livy host, I see the following keytab:
> {code}
> root@natd76-ypis-erm16tofndwngdsec-d7-6:/var/log/livy# ls -lhrt 
> /etc/security/keytabs/livy.service.keytab
> -r-------- 1 livy hadoop 543 Feb 10 00:09 
> /etc/security/keytabs/livy.service.keytab
> {code}
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/resources/stacks/HDP/2.5/upgrades/nonrolling-upgrade-2.6.xml
>  4fb68ed 
> 
> Diff: https://reviews.apache.org/r/56787/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 21:29 min
> [INFO] Finished at: 2017-02-17T10:09:46-05:00
> [INFO] Final Memory: 71M/798M
> [INFO] 
> ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Jonathan Hurley
> 
>

Reply via email to