flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manuel Polonio <manuel.polo...@bitmonlab.com>
Subject Write to a remote HDFS cluster on a different LAN
Date Tue, 06 Sep 2016 14:35:44 GMT

I've got a problem while trying to write events to a remote HDFS cluster
that is on a different LAN, because when Flume is informed of the datanodes
to write to, it receives local (local on the remote cluster) IPs. I've
configured HDFS to use hostnames when informing client and datanodes of
datanodes, by setting next parameters on hdfs-site.xml:



I've also properly configured /etc/hosts in all datanodes and client. I've
sniffed nodename->client traffic and it seems that IPs and also hostnames
are being reported, but HDFS sink still log (timeout) exceptions with the
local IPs of the remote LAN.

I think this problem should be very usual and an easy workaround has to

Any help would be highly appreciated.

Best regards,
Manuel Polonio

View raw message