]# /etc/init.d/flume-master start
Starting Flume master daemon (flume-master): starting master, logging to /var/log/flume/flume-flume-master-localhost.localdomain.log
/usr/lib/flume/bin/flume: line 193: java: command not found
/usr/lib/flume/bin/flume: line 271: exec: java not found
当我执行flume-master和flume-node时,会出现该消息。 我只是按照水槽安装指南(http://www.cloudera.com/content/cloudera/en/documentation/archives/cdh3/v3u6/CDH3-Installation-Guide/cdh3ig_topic_10.html)
进行操作我使用jdk1.8.0_25并在〜/ .bashrc和/ etc / profile上设置java。 请帮帮我
答案 0 :(得分:0)
在/etc/flume-ng/conf.empty/flume-env.sh
JAVA_HOME = / usr / lib中/ JVM / JAVA -7-预言
(JAVA_HOME根据您的系统)