Help Center/ MapReduce Service/ User Guide (Ankara Region)/ Alarm Reference/ ALM-16046 Hive Data Warehouse Permission Is Modified
Updated on 2024-11-29 GMT+08:00

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.

  1. Log in to the node where the client is located as user root.
  1. 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.)

  2. 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

  3. Check whether the alarm is cleared.

    • If it is, no further action is required.
    • If it is not, go to 5.

Collect fault information.

  1. Collect related information in the hdfs://hacluster/user/hive/warehouse directory on the client background.
  2. Contact the O&M engineers and send the collected logs.

Alarm Clearance

After the fault is rectified, the system automatically clears this alarm.

Related Information

None.