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

Jeff Holoman commented on FLUME-2982:
-------------------------------------

Thanks @mpercy I took a look at this and tested on a few different hosts and 
the InetAddress.getLocalHost() approach seemed to work ok. This is also how we 
do it now for the existing host intereceptor so I think we are ok, per the 
comments in the RB.

> Add localhost escape sequence to HDFS sink
> ------------------------------------------
>
>                 Key: FLUME-2982
>                 URL: https://issues.apache.org/jira/browse/FLUME-2982
>             Project: Flume
>          Issue Type: Improvement
>            Reporter: Jeff Holoman
>            Assignee: Jeff Holoman
>         Attachments: FLUME-2982.patch.1
>
>
> It would be useful to be able to just use %localhost% escape sequence instead 
> of having to pass in a header / use the host interceptor. 



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

Reply via email to