写flume实时导入数据时报错
flume-sink报错 : close() called when transaction is OPEN - you must either commit or rollback first
在确认代码无误的情况下,引起该错误的主要原因是flume启动给的内存不足引起的,
flume-ng 启动文件默认的启动内存为20M
可以修改flume-ng文件:
JAVA_OPTS="-Xmx1024m" #设置大一点,默认是20M
flume-sink报错 : close() called when transaction is OPEN - you must either commit or rollback first
最新推荐文章于 2022-02-09 22:16:39 发布