1. 程式人生 > >flume上傳日誌到ha hadoop hdfs上

flume上傳日誌到ha hadoop hdfs上

將hadoop叢集的core-site.xml和hdfs-site.xml放在flume的conf目錄下
For HA, you must use the HA service name, such as
hdfs://nameservice1/user/foo instead of
hdfs://namenode-host:8020/user/foo. This will protect your agents from
failures during HA failovers.