当我将水槽安装到 Linux 中时。我在运行水槽时收到了一些警告,我按照这个过程安装了水槽。
>> sudo tar -xvf flume-ng-1.1.0-cdh4.0.1\(1\).tar.gz
>> export PATH=/home/hduser/downloads/flume-1.1.0- cdh4.0.1/bin:$PATH
>> $ sudo cp conf/flume-conf.properties.template conf/flume.conf
为了运行水槽,我使用了这个命令
>> $ bin/flume-ng agent -n agent -f conf/flume.conf
但它显示了一些警告
hadoopmaster@HadoopMaster:/home/hduser/downloads/flume-ng$ sudo bin/flume-ng agent -n agent -f conf/flume.conf
Warning: No configuration directory set! Use --conf <dir> to override.
Warning: JAVA_HOME not set!
+ exec /usr/bin/java -Xmx20m -cp '/home/hduser/downloads/flume-ng/lib/*' -Djava.library.path= org.apache.flume.node.Application -n agent -f conf/flume.conf
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.