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

UGI HadoopLoginModule doesn't catch & wrap all kerberos-related exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.5.1
    • None
    • security
    • None

    Description

      If something is failing with kerberos login, UserGroupInformation.loginUserFromKeytabAndReturnUGI() should fail with useful information. But not all exceptions from the inner code are caught and converted to LoginException. Those exceptions that aren't wrapped have their text and stack trace lost somewhere in the javax code, leaving on the text "login failed" and a stack trace of no value whatsoever.

      Attachments

        1. HADOOP-11117-002.patch
          3 kB
          Steve Loughran
        2. HADOOP-11117-001.patch
          3 kB
          Steve Loughran

        Issue Links

          Activity

            People

              stevel@apache.org Steve Loughran
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: