• MapReduce Service

mrs
  1. Help Center
  2. MapReduce Service
  3. User Guide
  4. MRS Manager Operation Guide
  5. Alarm Reference
  6. ALM-16004 Hive Service Unavailable

ALM-16004 Hive Service Unavailable

Description

The system checks the Hive service status every 30 seconds. This alarm is generated when the Hive service is unavailable and is cleared when the Hive service is in the normal state.

Attribute

Alarm ID

Alarm Severity

Automatically Cleared

16004

Critical

Yes

Parameters

Parameter

Description

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 system cannot provide data loading, query, and extraction services.

Possible Causes

  • The Hive service unavailability may be related to basic services, such as ZooKeeper, HDFS, Yarn, and DBService or caused by the faults of the Hive processes.
    • The ZooKeeper, HDFS, Yarn, or DBService services are abnormal.
    • The Hive service process is faulty. If the alarm is caused by a Hive process fault, the alarm report has a delay of about 5 minutes.
  • The network communication between the Hive service and basic services is interrupted.

Procedure

  1. Check the HiveServer/MetaStore process status.

    1. On MRS Manager, choose Service > Hive > Instance. In the Hive instance list, check whether all HiveSserver/MetaStore instances are in the Unknown state.
    2. Above the Hive instance list, choose More > Restart Instance to restart the HiveServer/MetaStore process.
    3. In the alarm list, check whether alarm ALM-16004 Hive Service Unavailable is cleared.
      • If yes, no further action is required.
      • If no, go to Step 2.

  2. Check the ZooKeeper service status.

    1. In the alarm list on MRS Manager, check whether alarm ALM-12007 Process Fault is generated.
    2. In the Alarm Details area of ALM-12007 Process Fault, check whether ServiceName is ZooKeeper.
    3. Rectify the fault by following the steps provided in ALM-12007 Process Fault.
    4. In the alarm list, check whether alarm ALM-16004 Hive Service Unavailable is cleared.
      • If yes, no further action is required.

  3. Check the HDFS service status.

    1. In the alarm list on MRS Manager, check whether alarm ALM-14000 HDFS Service Unavailable is generated.
    2. Rectify the fault by following the steps provided in ALM-14000 HDFS Service Unavailable.
    3. In the alarm list, check whether alarm ALM-16004 Hive Service Unavailable is cleared.
      • If yes, no further action is required.
      • If no, go to Step 4.

  4. Check the Yarn service status.

    1. In the alarm list on MRS Manager, check whether alarm ALM-18000 Yarn Service Unavailable is generated.
    2. Rectify the fault by following the steps provided in ALM-18000 Yarn Service Unavailable.
    3. In the alarm list, check whether alarm ALM-16004 Hive Service Unavailable is cleared.
      • If yes, no further action is required.
      • If no, go to Step 4.

  5. Check the DBService service status.

    1. In the alarm list on MRS Manager, check whether alarm ALM-27001 DBService Unavailable is generated.
    2. Rectify the fault by following the steps provided in ALM-27001 DBService Unavailable.
    3. In the alarm list, check whether alarm ALM-16004 Hive Service Unavailable is cleared.
      • If yes, no further action is required.
      • If no, go to Step 6.

  6. Check the network connection between Hive and ZooKeeper, HDFS, Yarn, and DBService.

    1. On MRS Manager, choose Service > Hive.
    2. Click Instance.

      The HiveServer instance list is displayed.

    3. Click Host Name in the row of HiveServer.

      The HiveServer host status page is displayed.

    4. Record the IP address under Summary.
    5. Use the IP address obtained in 6.d to log in to the host that runs HiveServer.
    6. Run the ping command to check whether the network connection is in the normal state between the host that runs HiveServer and the hosts that run the ZooKeeper, HDFS, Yarn, and DBService services.

      The methods of obtaining the IP addresses of the hosts that are running ZooKeeper, HDFS, Yarn, and DBService services, as well as the HiveServer IP address, are the same.

    7. Contact public cloud O&M personnel to recover the network.
    8. In the alarm list, check whether the alarm ALM-16004 Hive Service Unavailable is cleared.
      • If yes, no further action is required.
      • If no, go to Step 7.

  7. Collect fault information.

    1. On MRS Manager, choose System > Export Log.
    2. Contact technical support engineers for help, detail see technical support.

Related Information

N/A