You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "John Zhuge (JIRA)" <ji...@apache.org> on 2017/08/20 07:11:00 UTC

[jira] [Updated] (HADOOP-14791) SimpleKdcServer: Fail to delete krb5 conf

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

John Zhuge updated HADOOP-14791:
--------------------------------
    Attachment: HADOOP-14791.001.patch

Patch 001
* Instead of renaming krb5 conf file, just copy it.

> SimpleKdcServer: Fail to delete krb5 conf
> -----------------------------------------
>
>                 Key: HADOOP-14791
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14791
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: minikdc
>    Affects Versions: 3.0.0-beta1
>            Reporter: John Zhuge
>            Assignee: John Zhuge
>            Priority: Minor
>         Attachments: HADOOP-14791.001.patch
>
>
> Run MiniKdc in a terminal and then press Ctrl-C:
> {noformat}
> Do <CTRL-C> or kill <PID> to stop it
> ---------------------------------------------------
> ^C2017-08-19 22:52:23,607 INFO impl.DefaultInternalKdcServerImpl: Default Internal kdc server stopped.
> 2017-08-19 22:53:21,358 INFO server.SimpleKdcServer: Fail to delete krb5 conf. java.io.IOException
> 2017-08-19 22:53:22,363 INFO minikdc.MiniKdc: MiniKdc stopped.
> {noformat}
> The reason for "Fail to delete krb5 conf" is because MiniKdc renames SimpleKdcServer's krb5 conf file. During shutdown, SimpleKdcServer attempts to delete its krb5 conf file, and can not find it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org