You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Arun Suresh (JIRA)" <ji...@apache.org> on 2015/03/12 20:03:39 UTC

[jira] [Commented] (HADOOP-11704) ProxyUsers expects ipaddress due to MachineList but callers send in remote host

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

Arun Suresh commented on HADOOP-11704:
--------------------------------------

Hey [~adhoot], doesnt {{MachineList}} handle both hostname as well as IP addresses ? or am I missing something ? 

> ProxyUsers expects ipaddress due to MachineList but callers send in remote host 
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-11704
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11704
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Anubhav Dhoot
>            Assignee: Anubhav Dhoot
>         Attachments: HADOOP-11704.001.patch
>
>
> DelegationTokenAuthenticationHandler and DelegationTokenAuthenticationFilter are using ServletRequest#getRemoteHost which can send an address if possible. It should use getRemoteAddr instead



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)