Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Help Center/ MapReduce Service/ Component Operation Guide (Normal)/ Using Sqoop/ Common Issues About Sqoop/ What Should I Do If Method getHiveClient Does Not Exist?

What Should I Do If Method getHiveClient Does Not Exist?

Updated on 2024-12-11 GMT+08:00

Question

What should I do if the getHiveClient method does not exist when data is synchronized using HCatalog?

Answer

Copy the JAR package from https://repo.huaweicloud.com/repository/maven/huaweicloudsdk/org/apache/hive/hcatalog/hive-hcatalog-core/ to the HCatalog directory of the MRS client and rename the original JAR package. As shown in the following figure, 302002.jar is the new package and 310001-SNAPSHOT.jar.bak is the original package with the suffix .bak.

Figure 1 HCatalog directory
Figure 2 Replacing the JAR file
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback