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.

你可能感兴趣的:(大数据)