更新时间:2023-01-11 16:38:06
我知道这个问题差不多一年了,但我看到了!
当您使用sudo bin / flume-ng设置您的agnet时,请务必指定代理配置所在的文件。
- conf-file flume_Agent.conf - > -f conf / flume_Agent.conf
诀窍!
I have built a hadoop cluster which 1 master-slave node and the other is slave. And now, I wanna build a flume to get all log of the cluster on master machine. However, when I try to install flume from tarball and I always get: Error: Could not find or load main class org.apache.flume.node.Application So, please help me to find the answer, or the best way to install flume on my cluster. many thanks!
I know its been almost a year for this question, but I saw it!
When you set your agnet using sudo bin/flume-ng.... make sure to specify the file where the agent configuration is.
--conf-file flume_Agent.conf -> -f conf/flume_Agent.conf
This did the trick!