Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-20065

Livy server start failed after downgrade with missing livy.server.kerberos.keytab error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • ambari-server
    • None

    Description

      STR

      1. Deployed cluster with Ambari 2.4.2.0-136 and HDP version: 2.5.3.0-37
      2. Upgrade Ambari to 2.5.0.0-863
      3. Perform EU to 2.6.0.0 and at finalize screen, start downgrade
      4. Let downgrade complete
      5. Observe the status of Livy Server after downgrade is successful

      Result:
      Livy server reports down and log says:

      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)
      

      On Livy host, I see the following keytab:

      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
      

      Attachments

        1. AMBARI-20065.patch
          1 kB
          Jonathan Hurley

        Issue Links

          Activity

            People

              jonathanhurley Jonathan Hurley
              shavi71 Vivek Sharma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: