ALM-16046 Hive Data Warehouse Permission Is Modified
Alarm Description
The system checks the Hive data warehouse permission in every 60 seconds. This alarm is generated if the permission is modified.
Alarm Attributes
Alarm ID |
Alarm Severity |
Alarm Type |
Service Type |
Auto Cleared |
---|---|---|---|---|
16046 |
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
If the permission on the Hive default data warehouse is modified, the permission for users or user groups to create databases or tables in the default data warehouse is changed.
Possible Causes
Hive periodically checks the status of the default data warehouse and finds that default data warehouse permission is changed.
Handling Procedure
Check the Hive default data warehouse permission.
- Log in to the node where the client is located as user root.
- Run the following command to go to the HDFS client installation directory:
cd Client installation directory
source bigdata_env
kinit User who has the supergroup permission (Skip this step for a common cluster.)
- Run the following command to restore the default data warehouse permission:
- Kerberos authentication is enabled for the cluster (the cluster is in security mode):
hdfs dfs -chmod 770 hdfs://hacluster/user/hive/warehouse
hdfs dfs -chown hive:hive hdfs://hacluster/user/hive/warehouse
- Kerberos authentication is disabled for the cluster (the cluster is in normal mode):
hdfs dfs -chmod 777 hdfs://hacluster/user/hive/warehouse
hdfs dfs -chown hive:hive hdfs://hacluster/user/hive/warehouse
- Kerberos authentication is enabled for the cluster (the cluster is in security mode):
- Check whether the alarm is cleared.
- If it is, no further action is required.
- If it is not, 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