错误:无法找到或加载主类org.apache.flume.node.Application - 在hadoop 1.2.1版上安装flume [英] Error: Could not find or load main class org.apache.flume.node.Application - Install flume on hadoop version 1.2.1
问题描述
错误:无法找到或加载主类org.apache.flume.node.Application
因此,请帮助我找到答案,或者是在我的集群上安装flume的最佳方式。
非常感谢!
我知道这个问题差不多一年了,但我看到了!
当您使用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!
这篇关于错误:无法找到或加载主类org.apache.flume.node.Application - 在hadoop 1.2.1版上安装flume的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!