Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14791

SimpleKdcServer: Fail to delete krb5 conf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 3.0.0-beta1
    • None
    • minikdc
    • None

    Description

      Run MiniKdc in a terminal and then press Ctrl-C:

      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.
      

      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.

      Attachments

        1. HADOOP-14791.001.patch
          4 kB
          John Zhuge

        Activity

          People

            jzhuge John Zhuge
            jzhuge John Zhuge
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: