Help Center/
MapReduce Service/
User Guide (ME-Abu Dhabi Region)/
Troubleshooting/
Using Hive/
Sample Code Error for Hive Secondary Development After Domain Switching
Updated on 2022-12-08 GMT+08:00
Sample Code Error for Hive Secondary Development After Domain Switching
Symptom
In the sample code for Hive secondary development, an 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