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

SimpleKdcServer: Fail to delete krb5 conf

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0-beta1
    • Fix Version/s: None
    • Component/s: minikdc
    • Labels:
      None
    • Target Version/s:

      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

            • Assignee:
              jzhuge John Zhuge
              Reporter:
              jzhuge John Zhuge
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: