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

hadoop.security.auth_to_local example is incorrect in the documentation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-beta1
    • None
    • None

    Description

      Let's see jhs as example:

      RULE:[2:$1@$0](jhs/.*@.*REALM.TLD)s/.*/mapred/

      That means principal has 2 components (jhs/myhost@REALM).
      The second column converts this to jhs@REALM. So the regex will not match on this since regex expects / in the principal.

      My suggestion is

      RULE:[2:$1](jhs)s/.*/mapred/

      https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/SecureMode.html

      Attachments

        1. HADOOP-14229.01.patch
          1 kB
          Andras Bokor
        2. HADOOP-14229.02.patch
          1.0 kB
          Andras Bokor
        3. HADOOP-14229.03.patch
          1 kB
          Andras Bokor

        Issue Links

          Activity

            People

              boky01 Andras Bokor
              boky01 Andras Bokor
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: