You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hari Sekhon (JIRA)" <ji...@apache.org> on 2017/11/10 15:13:00 UTC

[jira] [Created] (AMBARI-22414) Support # hash prefix comment lines in auth_to_local mapping rules

Hari Sekhon created AMBARI-22414:
------------------------------------

             Summary: Support # hash prefix comment lines in auth_to_local mapping rules
                 Key: AMBARI-22414
                 URL: https://issues.apache.org/jira/browse/AMBARI-22414
             Project: Ambari
          Issue Type: Improvement
          Components: ambari-server
    Affects Versions: 2.5.1
         Environment: HDP 2.6.1 + Kerberos
            Reporter: Hari Sekhon


Request to add support for # hash prefixed comment lines in Hadoop's auth_to_local mappings rules config box 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)