hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andras Bokor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14665) Support # hash prefix comment lines in auth_to_local mapping rules
Date Fri, 10 Nov 2017 14:22:00 GMT

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

Andras Bokor commented on HADOOP-14665:
---------------------------------------

I am not sure if I understand correctly. auth_to_local rules are used in core-site.xml file.
So it is an xml file that is why xml comment works.

> Support # hash prefix comment lines in auth_to_local mapping rules
> ------------------------------------------------------------------
>
>                 Key: HADOOP-14665
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14665
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 2.7.3
>         Environment: HDP 2.6.0 + Kerberos
>            Reporter: Hari Sekhon
>
> Request to add support for # hash prefixed comment lines in Hadoop's auth_to_local mappings
rules so I can comment what rules I've added and why inline to the rules like with code (useful
when supporting multi-directory mappings).
> It should be fairly easy to implement, just string strip all lines from # to end, trim
whitespace and then exclude all blank / whitespace lines, I do this in tools I write all the
time.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message