[
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: [email protected]
For additional commands, e-mail: [email protected]