Help Center/ MapReduce Service/ Troubleshooting/ Using Hive/ An Error Is Reported When the Hive Sample Program Is Running After the Domain Name of a Cluster Is Changed
Updated on 2024-12-18 GMT+08:00
An Error Is Reported When the Hive Sample Program Is Running After the Domain Name of a Cluster Is Changed
Symptom
In the sample code for Hive secondary development, error "No rules applied to ****" is reported.

Cause Analysis
- The sample code for Hive secondary development loads core-site.xml file that is loaded through classload by default. Therefore, you need to put the configuration file to the classpath directory of the startup program.
- If the domain name of the cluster is changed, the core-site.xml file will change. You need to download the latest core-site.xml file and save it to the classpath directory where the sample code for Hive secondary development is located.
Solution
- Download the latest client of the Hive cluster to obtain the latest core-site.xml file.
- Save the core-site.xml file to the classpath directory where the sample code process for Hive secondary development is located.
Parent topic: Using Hive
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.