[ 
https://issues.apache.org/jira/browse/HADOOP-10345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benoy Antony updated HADOOP-10345:
----------------------------------

    Attachment: HADOOP-10345.patch

The patch does the following:

1. removes empty strings, trim leading/trailing spaces
2. removes duplicate elements
3. Uses Hashset so that lookup is done in O(1).  


> Sanitize the the inputs (groups and hosts) for the proxyuser configuration
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-10345
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10345
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>            Reporter: Benoy Antony
>            Assignee: Benoy Antony
>            Priority: Minor
>         Attachments: HADOOP-10345.patch
>
>
> Currently there are no input cleansing done on  
> hadoop.proxyuser.<user-name>.groups  and hadoop.proxyuser.<user-name>.hosts .
> It will be an improvement to trim each value, remove duplicate and empty 
> values during init/refresh.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to