[
https://issues.apache.org/jira/browse/HADOOP-14665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16247494#comment-16247494
]
Andras Bokor commented on HADOOP-14665:
---------------------------------------
I does not seem like a missing feature. You can use standard xml comments, do
not need to implement an own comment logic.
> 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: [email protected]
For additional commands, e-mail: [email protected]