flume-ng agent --conf-file option --name a1 -Dflume.root.logger=INFO,console

[root@node002 flume]# flume-ng agent --conf-file option --name a1 -Dflume.root.logger=INFO,console             Warning: No configuration directory set! Use --conf <dir> to override.
Info: Including Hadoop libraries found via (/opt/hadoop-2.6.5/bin/hadoop) for HDFS access
Info: Excluding /opt/hadoop-2.6.5/share/hadoop/common/lib/slf4j-api-1.7.5.jar from classpath
Info: Excluding /opt/hadoop-2.6.5/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar from classpath
Info: Including HBASE libraries found via (/opt/hbase/bin/hbase) for HBASE access
Info: Excluding /opt/hbase/lib/slf4j-api-1.6.4.jar from classpath
Info: Excluding /opt/hbase/lib/slf4j-log4j12-1.6.4.jar from classpath
Info: Excluding /opt/hadoop-2.6.5/share/hadoop/common/lib/slf4j-api-1.7.5.jar from classpath
Info: Excluding /opt/hadoop-2.6.5/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar from classpath
Info: Including Hive libraries found via (/opt/hive) for Hive access




19/03/21 13:18:12 INFO node.PollingPropertiesFileConfigurationProvider: Configuration provider starting
19/03/21 13:18:12 INFO node.PollingPropertiesFileConfigurationProvider: Reloading configuration file:option
19/03/21 13:18:12 INFO conf.FlumeConfiguration: Added sinks: k1 Agent: a1
19/03/21 13:18:12 INFO conf.FlumeConfiguration: Processing:k1
19/03/21 13:18:12 INFO conf.FlumeConfiguration: Processing:k1
19/03/21 13:18:12 INFO conf.FlumeConfiguration: Post-validation flume configuration contains configuration for agents: [a1]
19/03/21 13:18:12 INFO node.AbstractConfigurationProvider: Creating channels
19/03/21 13:18:12 INFO channel.DefaultChannelFactory: Creating instance of channel c1 type memory
19/03/21 13:18:12 INFO node.AbstractConfigurationProvider: Created channel c1
19/03/21 13:18:12 INFO source.DefaultSourceFactory: Creating instance of source r1, type netcat
19/03/21 13:18:12 INFO sink.DefaultSinkFactory: Creating instance of sink: k1, type: logger
19/03/21 13:18:12 INFO node.AbstractConfigurationProvider: Channel c1 connected to [r1, k1]
19/03/21 13:18:12 INFO node.Application: Starting new configuration:{ sourceRunners:{r1=EventDrivenSourceRunner: { source:org.apache.flume.source.NetcatSource{name:r1,state:IDLE} }} sinkRunners:{k1=SinkRunner: { policy:org.apache.flume.sink.DefaultSinkProcessor@6d0e6c33 counterGroup:{ name:null counters:{} } }} channels:{c1=org.apache.flume.channel.MemoryChannel{name: c1}} }
19/03/21 13:18:12 INFO node.Application: Starting Channel c1
19/03/21 13:18:12 INFO instrumentation.MonitoredCounterGroup: Monitored counter group for type: CHANNEL, name: c1: Successfully registered new MBean.
19/03/21 13:18:12 INFO instrumentation.MonitoredCounterGroup: Component type: CHANNEL, name: c1 started
19/03/21 13:18:12 INFO node.Application: Starting Sink k1
19/03/21 13:18:12 INFO node.Application: Starting Source r1
19/03/21 13:18:12 INFO source.NetcatSource: Source starting
19/03/21 13:18:12 INFO source.NetcatSource: Created serverSocket:sun.nio.ch.ServerSocketChannelImpl[/192.168.2.22:10086]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值