Hadoopアドベントカレンダーの14日目。 阪本です。 セキュア通信でFlumeを使う方法について書こうと思います。 現行のFlumeには、セキュア通信を行うための仕組みは用意されていません。 完全ローカルで使用するのであれば、それでもよいかもしれませんが、 やはり通信経路のセキュリティは気になるもの。 特に日本ではこのあたり、気にされるんですよねぇ。 そこで、SSHポートフォワード+Flumeによるセキュア通信をやってみました。 まずは、flume configでの設定。 exec unmapAll exec purgeAll exec map host1 node1_1 exec map host1 node1_2 exec map host2 node2_1 exec map host2 node2_2 exec map host3 collector1 exec map host