Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume >> mail # dev >> Returns at HostInterceptor

Copy link to this message
Re: Returns at HostInterceptor
Sure, StatisInterceptor is another choice if I want to transfer pre-defined
IP to each event. This is a proposal for right local IP. In my situation,
several Flume servers cannot be distinguished with IP no matter in HDFS or
monitoring system. What do you think if original HostInterceptor support
effective function?

2013/1/18 Mike Percy <[EMAIL PROTECTED]>

> Hi Denny,
> What are your thoughts for improving this? Maybe you want to consider
> submitting a patch?
> If you know what the string you want to use is, you might also consider
> using a StaticInterceptor.
> Regards,
> Mike
> On Fri, Jan 18, 2013 at 1:33 AM, Denny Ye <[EMAIL PROTECTED]> wrote:
> > hi all, HostInterceptor obtains loopback address if there hasn't
> configure
> > for local server at /etc/hosts. Can we change the acquire method for
> local
> > IP. Currently, we are using 'InetAddress.getLocalHost().getHostAddress()'
> >