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  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]

你可能感兴趣的:(flume)