安装Flume的时候出现File Channel transaction capacity cannot be greater than the capacity of the channel capacity -解决方案 摘自网络

部署flume集群时,在启动collector服务器没报错,启动agent服务器报错:

File Channel transaction capacity cannot be greater than the capacity of the channel capacity

查了下相关解决办法,将配置文件中的

agent.channels.memoryChannel.capacity = 1000
调整为

agent.channels.memoryChannel.capacity = 10000

再启动服务器正常。