hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hanisha Koneru (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14229) hadoop.security.auth_to_local example is incorrect in the documentation
Date Fri, 31 Mar 2017 19:33:41 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-14229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15951544#comment-15951544

Hanisha Koneru commented on HADOOP-14229:

Verified that the current suggested settings for hadoop.security.auth_to_local in https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/SecureMode.html
do not perform the intended action.
As you said, the command _hadoop kerbname jhs/host.domain@REALM.TLD_ gives the following result:
bq. Name: jhs/host.domain@REALM.TLD to jhs/host.domain@REALM.TLD
whereas, the intended result is:
bq. Name: jhs/host.domain@REALM.TLD to mapred

The patch LGTM.

> hadoop.security.auth_to_local example is incorrect in the documentation
> -----------------------------------------------------------------------
>                 Key: HADOOP-14229
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14229
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Andras Bokor
>            Assignee: Andras Bokor
>            Priority: Trivial
>         Attachments: HADOOP-14229.01.patch, HADOOP-14229.02.patch
> Let's see jhs as example:
> {code}RULE:[2:$1@$0](jhs/.*@.*REALM.TLD)s/.*/mapred/{code}
> 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
> {code}RULE:[2:$1](jhs)s/.*/mapred/{code}
> https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/SecureMode.html

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message