flume 报File Channel transaction capacity cannot be greater than the capacity of the channel capacit

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了flume 报File Channel transaction capacity cannot be greater than the capacity of the channel capacit相关的知识,希望对你有一定的参考价值。

  今天在部署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

再启动服务器正常。

参考网址:https://issues.apache.org/jira/browse/FLUME-2268

以上是关于flume 报File Channel transaction capacity cannot be greater than the capacity of the channel capacit的主要内容,如果未能解决你的问题,请参考以下文章

实时事件统计项目:优化flume:用file channel代替mem channel

Flume启动问题

Flume实用环境搭建:source(spooldir)+channel(file)+sink(hdfs)方式

SparkStreaming整合Flume的pull方式之启动报错解决方案

flume学习---channel

Oracle启动报错:ORA-03113: end-of-file on communication channel