Help Center/
MapReduce Service/
Troubleshooting/
Using Flume/
A Flume Client Cannot Connect to the Server
Updated on 2023-11-30 GMT+08:00
A Flume Client Cannot Connect to the Server
Symptom
A user installs a Flume client and sets an Avro sink to communicate with the server. However, the Flume server cannot be connected.
Cause Analysis
- The server is incorrectly configured and the monitoring port fails to be started. For example, an incorrect IP address or an occupied port is configured for the Avro source of the server.
View Flume run logs.
2016-08-31 17:28:42,092 | ERROR | [lifecycleSupervisor-1-9] | Unable to start EventDrivenSourceRunner: { source:Avro source avro_source: { bindAddress: 10.120.205.7, port: 21154 } } - Exception follows. | org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java:253) java.lang.RuntimeException: org.jboss.netty.channel.ChannelException: Failed to bind to: /192.168.205.7:21154
- If encrypted transmission is used, the certificate or password is incorrect.
2016-08-31 17:15:59,593 | ERROR | [conf-file-poller-0] | Source avro_source has been removed due to an error during configuration | org.apache.flume.node.AbstractConfigurationProvider.loadSources(AbstractConfigurationProvider.java:388) org.apache.flume.FlumeException: Avro source configured with invalid keystore: /opt/Bigdata/MRS_XXX/install/FusionInsight-Flume-1.9.0/flume/conf/flume_sChat.jks
- The network connection between the client and the server is abnormal.
PING 192.168.85.55 (10.120.85.55) 56(84) bytes of data. From 192.168.85.50 icmp_seq=1 Destination Host Unreachable From 192.168.85.50 icmp_seq=2 Destination Host Unreachable From 192.168.85.50 icmp_seq=3 Destination Host Unreachable From 192.168.85.50 icmp_seq=4 Destination Host Unreachable
Solution
- Set a correct IP address (an IP address of the local host). If the port has been occupied, configure another free port.
- Configure a correct certificate path.
- Contact the network administrator to restore the network.
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