Help Center/ Cloud Data Migration/ FAQs/ Troubleshooting/ What Should I Do If No Database or Table Information Can Be Obtained Through a Hive Link?
Updated on 2023-06-21 GMT+08:00

What Should I Do If No Database or Table Information Can Be Obtained Through a Hive Link?

Symptom

The database and table content cannot be obtained through a Hive link in the CDM cluster. After the database and table are manually configured, fields can be displayed, but an error message is displayed, indicating that the Hive client fails to be initialized.

get_table_req

Solution

  1. The MRS cluster version is 1.8.1, and the CDM cluster version is 2.6.0.
  2. According to the error message, the Hive SDK encapsulated in CDM cannot identify the Hive data source, but the Hive link connectivity is normal. Therefore, check the parameters for the Hive connector.

    The user, user group, and role of MRS Manager in the security cluster are correctly configured. The Hive version is HIVE_3_X.

  3. As the Hive version of the MRS cluster version 1.8.1 is 1.2.1, the Hive version hive_1_X should be selected for the Hive connector. Change the Hive version and re-create a job. The job can be created successfully, and the issue is rectified.