ALM-16045 Hive Data Warehouse Is Deleted
Alarm Description
The system checks the Hive data warehouse in every 60 seconds.This alarm is generated when the Hive data warehouse is deleted.
Alarm Attributes
Alarm ID |
Alarm Severity |
Alarm Type |
Service Type |
Auto Cleared |
---|---|---|---|---|
16045 |
Critical |
Operation |
Hive |
Yes |
Alarm Parameters
Type |
Parameter |
Description |
---|---|---|
Location Information |
Source |
Specifies the cluster for which the alarm is generated. |
ServiceName |
Specifies the service for which the alarm is generated. |
|
RoleName |
Specifies the role for which the alarm is generated. |
|
HostName |
Specifies the host for which the alarm is generated. |
Impact on the System
The default Hive data warehouse is deleted. As a result, creating databases or tables in the default data warehouse fails, and services are affected.
Possible Causes
Hive periodically checks the status of the default data warehouse and finds that the default data warehouse is deleted.
Handling Procedure
Check the default Hive data warehouse.
- Log in to the node where the client is located as user root.
- Run the following command to check whether the warehouse directory exists in hdfs://hacluster/user/<username>/.Trash/Current/.
hdfs dfs -ls hdfs://hacluster/user/<username>/.Trash/Current/
- By default, there is an automatic recovery mechanism for the data warehouse. You can wait for 5 ~10s to check whether the default data warehouse is restored. If the data warehouse is not recovered, manually run the following command to restore the data warehouse.
hdfs dfs -mv hdfs://hacluster/user/<username>/.Trash/Current/user/hive/warehouse /user/hive/warehouse
- Check whether the alarm is cleared.
- If yes, no further action is required.
- If no, go to 5.
Collect fault information.
Alarm Clearance
After the fault is rectified, the system automatically clears this alarm.
Related Information
None.
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot