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

Pradeep Bansal updated KAFKA-9064:
----------------------------------
    Issue Type: Bug  (was: Improvement)

> Observing transient issue with kinit command
> --------------------------------------------
>
>                 Key: KAFKA-9064
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9064
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>            Reporter: Pradeep Bansal
>            Priority: Major
>
> 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}}{{)}}|
> | |
> | |



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to