启动Flume失败

老师好,执行如下命令失败,请问是怎么回事?
[root@zhumac1 apache-flume]# pwd
/usr/lib/apache-flume
[root@zhumac1 apache-flume]# bin/flume-ng agent --conf-file conf/example.conf --name a1 -Dflume.root.logger=INFO,console
Warning: No configuration directory set! Use --conf <dir> to override.
Info: Including Hive libraries found via () for Hive access
+ exec /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java -Xmx20m -Dflume.root.logger=INFO,console -cp '/usr/lib/apache-flume/lib/*:/lib/*' -Djava.library.path= org.apache.flume.node.Application --conf-file conf/example.conf --name a1
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/log4 ... onfig for more info.
^C[root@zhumac1 apache-flume]#
[root@zhumac1 apache-flume]#

log4j还需要单独启动吗?
还是配置文件路径有问题?

wangxiaolei

赞同来自: zhudejun_1985

命令少指定一个conf参数。 bin/flume-ng agent --conf conf --conf-file conf/example.conf --name a1 -Dflume.root.logger=INFO,console

Vincentayd

赞同来自:

oo  

要回复问题请先登录注册