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

User cannot specify a kerberos keytab for commands

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 0.23.0, 2.0.0-alpha, 3.0.0-alpha1
    • None
    • security
    • None

    Description

      UserGroupInformation only allows kerberos users to be logged in via the ticket cache when running hadoop commands. UGI allows a keytab to be used, but it's only exposed programatically. This forces keytab-based users running hadoop commands to periodically issue a kinit from the keytab. A race condition exists during the kinit when the ticket cache is deleted and re-created. Hadoop commands will fail when the ticket cache does not momentarily exist.

      Attachments

        1. HADOOP-9317.branch-23.patch
          10 kB
          Daryn Sharp
        2. HADOOP-9317.patch
          9 kB
          Daryn Sharp
        3. HADOOP-9317.patch
          10 kB
          Daryn Sharp
        4. HADOOP-9317.branch-23.patch
          10 kB
          Daryn Sharp
        5. HADOOP-9317.patch
          10 kB
          Daryn Sharp
        6. HADOOP-9317.patch
          10 kB
          Robert Parker

        Activity

          People

            daryn Daryn Sharp
            daryn Daryn Sharp
            Votes:
            0 Vote for this issue
            Watchers:
            16 Start watching this issue

            Dates

              Created:
              Updated: