Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-9064

Observing transient issue with kinit command

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I have specified kinit command to be skinit. While this works fine for most time, sometimes I see below exception where it doesnt respect provided kinit command and use default value. Can this be handled?

       

      [}}{{2019}}{{-}}{{02}}{{-}}{{19}} {{10}}{{:}}{{20}}{{:}}{{07}}{{,}}{{862}}{{] WARN [Principal}}{{=}}{{null]: Could not renew TGT due to problem running shell command: '/usr/bin/kinit -R'. Exiting refresh thread. (org.apache.kafka.common.security.kerberos.KerberosLogin)
      org.apache.kafka.common.utils.Shell$ExitCodeException: kinit: Matching credential not found (filename: /tmp/krb5cc_25012_76850_sshd_w6VpLC8R0Y) while renewing credentials
       
              at org.apache.kafka.common.utils.Shell.runCommand(Shell.java:130)
              at org.apache.kafka.common.utils.Shell.run(Shell.java:76)
              at org.apache.kafka.common.utils.Shell$ShellCommandExecutor.execute(Shell.java:204)
              at org.apache.kafka.common.utils.Shell.execCommand(Shell.java:268)
              at org.apache.kafka.common.utils.Shell.execCommand(Shell.java:255)
              at org.apache.kafka.common.security.kerberos.KerberosLogin.lambda$login$10(KerberosLogin.java:212)
              at java.base/java.lang.Thread.run(Thread.java:834)
       
       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bansalp Pradeep Bansal
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: