Jonathan Hurley created AMBARI-20065:
----------------------------------------

             Summary: 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: Jonathan Hurley
            Assignee: Jonathan Hurley
            Priority: Critical
             Fix For: 2.5.0


*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/[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}



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

Reply via email to