遇到报错:Could not find or load main class org.apache.flume.node.Application
通常都是没有设置flume的路径造成的,解决方案如下:
echo -e "export FLUME_HOME=/usr/local/flumenexport PATH=$PATH:$FLUME_HOME/bin" >> ~/.bashrc
source ~/.bashrc
FLUME_HOME后面是flume的路径,之后即可正常启动。
未经允许不得转载:阿藏博客 » Could not find or load main class org.apache.flume.node.Application解决方案