You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Yusaku Sako (JIRA)" <ji...@apache.org> on 2017/03/20 21:29:42 UTC

[jira] [Updated] (AMBARI-20065) Livy server start failed after downgrade with missing livy.server.kerberos.keytab error

     [ https://issues.apache.org/jira/browse/AMBARI-20065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yusaku Sako updated AMBARI-20065:
---------------------------------
    Reporter: Vivek Sharma  (was: Jonathan Hurley)

> Livy server start failed after downgrade with missing livy.server.kerberos.keytab error
> ---------------------------------------------------------------------------------------
>
>                 Key: AMBARI-20065
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20065
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.0
>            Reporter: Vivek Sharma
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-20065.patch
>
>
> *STR*
> # 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/natd76-ypis-erm16tofndwngdsec-d7-6.openstacklocal@EXAMPLE.COM)
> 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}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)