[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还需要单独启动吗?
还是配置文件路径有问题?
眼眸繁星
相关分类