MRS Hive Data Source Connection Failed
Cause Analysis
The possible causes are as follows:
- The private IP address specified in the MRS Hive configuration file cannot communicate with the IP address of the FDI data plane. As a result, the connection fails.
- HDFS URL is set to the root directory hdfs://hacluster, but the user specified by Machine-machine Username does not have the administrator permission. As a result, the connection fails.
Solution
- Bind an EIP to the MRS Hive server and change the IP address in the configuration file to the EIP. Then, add the dfs.client.use.datanode.hostname configuration item to the hdfs-site.xml fil, and set the value to true.
- Change Machine-machine Username to the name of a user with the administrator permission or change HDFS URL to a directory on which the user has sufficient permissions.
If the connection still fails after the preceding operations are performed, rectify the fault by referring to Troubleshooting a Data Source Connection Test Failure.
Last Article: Troubleshooting a Data Source Connection Test Failure
Next Article: FTP Data Source Connection Failed
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.