flume启动失败原因

输入:

flume-ng agent -c /root/apps/apache-flume-1.6.0-bin/conf -f ./avro-hdfs.conf -n al -Dflume.root.logger=INFO,console

控制台打印

Info: Including Hive libraries found via () for Hive access
+ exec /root/apps/jdk1.8.0_181/bin/java -Xmx20m -Dflume.root.logger=INFO,console -cp 'c:/root/apps/apache-flume-1.6.0-bin/lib/*:/lib/*' -Djava.library.path= org.apache.flume.node.Application /root/apps/apache-flume-1.6.0-bin/conf -f ./avro-hdfs.conf -n al
log4j:WARN No appenders could be found for logger (org.apache.flume.lifecycle.LifecycleSupervisor).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

简写的命令无法识别,换成下面的:

flume-ng agent --conf /root/apps/apache-flume-1.6.0-bin/conf --conf-file avro-hdfs.conf --name a1 -Dflume.root.logger=INFO,console

你可能感兴趣的:(flume)