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 2023-11-30 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
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