Jian He commented on YARN-1517:

Instead of adding a non-used method in YARN code, I think custom code can just 
override the initFilter and add their custom filter.
close this, please re-open if disagree.

> AMFilterInitializer with configurable AMIpFilter
> ------------------------------------------------
>                 Key: YARN-1517
>                 URL: https://issues.apache.org/jira/browse/YARN-1517
>             Project: Hadoop YARN
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>            Reporter: Pramod Immaneni
>            Assignee: Pramod Immaneni
>         Attachments: AmFilterInitializer.patch
> We need to implement custom logic in a filter for our webservice similar to 
> org.apache.hadoop.yarn.server.webproxy.amfilter.AmIpFilter and it would be 
> convenient if we extended AmIpFilter as the proxy locations already 
> available. 
> We would need to specify a filter initializer for this filter. The 
> initializer would be same as AmFilterInitializer except that it would add our 
> filter instead of AmIpFilter and it would be better if we could reuse 
> AmlFilterInitializer. Can AmFilterInitializer be updated to specify a filter 
> name and filter class.

This message was sent by Atlassian JIRA

Reply via email to