Help Center/
MapReduce Service/
User Guide (Kuala Lumpur Region)/
Troubleshooting/
Using Flume/
Failed to Install a Flume Client
Updated on 2022-12-14 GMT+08:00
Failed to Install a Flume Client
Symptom
A Flume client fails to be installed, and "JAVA_HOME is null" or "flume has been installed" is displayed.
CST 2016-08-31 17:02:51 [flume-client install]: JAVA_HOME is null in current user,please install the JDK and set the JAVA_HOME CST 2016-08-31 17:02:51 [flume-client install]: check environment failed. CST 2016-08-31 17:02:51 [flume-client install]: check param failed. CST 2016-08-31 17:02:51 [flume-client install]: install flume client failed.
CST 2016-08-31 17:03:58 [flume-client install]: flume has been installed CST 2016-08-31 17:03:58 [flume-client install]: check path failed. CST 2016-08-31 17:03:58 [flume-client install]: check param failed. CST 2016-08-31 17:03:58 [flume-client install]: install flume client failed.
Cause Analysis
- Environment variables are checked during Flume client installation. If no Java is available, an error message is displayed stating "JAVA_HOME is null" and the installation quits.
- If Flume has been installed in the specified directory, an error message is displayed stating "flume has been installed" during client installation and the installation quits.
Solution
- Run the following command if an error message is displayed stating "JAVA_HOME is null":
export JAVA_HOME=Java path
Set JAVA_HOME and execute the installation script again.
- If a Flume client has been installed under the specified directory, uninstall the client and use another directory.
Parent topic: Using Flume
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot