lady_killer9 2019-03-14 17:38 采纳率: 0%
浏览 2086

Flume运行报错,显示没有配置过滤器和正则表达式无效

Flume的配置文件:

a1.sources=s1
a1.channels=c1
a1.sinks=k1

a1.sources.s1.type = spooldir
a1.sources.s1.channels = c1
a1.sources.s1.spoolDir =/home/frankyu/serverlogs
a1.source.s1.ignorePattern= ^(.)*\.tmp$

a1.sinks.k1.type = hdfs
a1.sinks.k1.hdfs.path = hdfs://hadoop1:9000/flume
a1.sinks.k1.hdfs.writeFormat = Text
a1.sinks.k1.hdfs.rollInterval = 0
a1.sinks.k1.hdfs.rollSize = 0
a1.sinks.k1.hdfs.rollCount = 10
a1.sinks.k1.channel = c1

a1.channels.c1.type = memory

报错信息:
2019-03-14 02:27:33,799 (conf-file-poller-0) [WARN - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.validateConfigFilterSet(FlumeConfiguration.java:623)] Agent configuration for 'a1' has no configfilters.

2019-03-14 02:27:33,790 (conf-file-poller-0) [WARN - org.apache.flume.conf.FlumeConfiguration$AgentConfiguration.addProperty(FlumeConfiguration.java:1161)] Invalid property specified: source.s1.ignorePattern
2019-03-14 02:27:33,796 (conf-file-poller-0) [WARN - org.apache.flume.conf.FlumeConfiguration.(FlumeConfiguration.java:126)] Configuration property ignored: a1.source.s1.ignorePattern = ^(.)*.tmp$

感谢帮助!

  • 写回答

1条回答

      报告相同问题?

      相关推荐 更多相似问题

      悬赏问题

      • ¥50 不好意思打扰,在您写的这篇文章中我想问一下,SARIMAX的参数都是怎么确定的。
      • ¥20 利用思科模拟器画出网络拓扑图
      • ¥15 ROS_Noetic使用handeye-calib进行机械臂手眼标定
      • ¥15 docker启动mysql容器直接闪退
      • ¥16 Python编写程序
      • ¥15 TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
      • ¥15 python报错怎么debug
      • ¥50 招标文件项点对应通用模板
      • ¥15 macos的vlc编译包,哪个大佬可以分享一下吗,我编译报错解决不了啦
      • ¥15 课程设计,求代码、注释和流程图