Updated on 2024-04-11 GMT+08:00

ALM-45275 Ranger Service Unavailable

Alarm Description

The alarm module checks the Ranger service status every 180 seconds. This alarm is generated if the Ranger service is abnormal.

This alarm is cleared after the Ranger service recovers.

Alarm Attributes

Alarm ID

Alarm Severity

Auto Cleared

45275

Critical

Yes

Alarm Parameters

Parameter

Description

Source

Specifies the cluster for which the alarm was generated.

ServiceName

Specifies the service for which the alarm was generated.

RoleName

Specifies the role for which the alarm was generated.

HostName

Specifies the host for which the alarm was generated.

Impact on the System

When the Ranger service is unavailable, Ranger cannot work properly and the native Ranger UI cannot be accessed.

Possible Causes

  • The DBService service on which Ranger depends is abnormal.
  • The RangerAdmin role instance is abnormal.

Handling Procedure

Check the DBService process status.

  1. On FusionInsight Manager, choose O&M > Alarm > Alarms. On the displayed page, check whether the ALM-27001 DBService Service Unavailable alarm is reported.

    • If yes, go to 2.
    • If no, go to 3.

  2. Rectify the DBService service fault by following the handling procedure of ALM-27001 DBService Service Unavailable. After the DBService alarm is cleared, check whether Ranger Service Unavailable alarm is cleared.

    • If yes, no further action is required.
    • If no, go to 3.

Check all RangerAdmin instances.

  1. Log in to the node where the RangerAdmin instance is located as user omm and run the ps -ef|grep "proc_rangeradmin" command to check whether the RangerAdmin process exists on the current node.

    • If yes, go to 5.
    • If no, restart the faulty RangerAdmin instance or Ranger service and go to 4.

  2. In the alarm list, check whether the alarm "Ranger Service Unavailable" is cleared.

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

Collect the fault information.

  1. On FusionInsight Manager, choose O&M > Log > Download.
  2. Expand the Service drop-down list, and select Ranger for the target cluster.
  3. Click in the upper right corner, and set Start Date and End Date for log collection to 1 hour ahead of and after the alarm generation time, respectively. Then, click Download.
  4. Contact O&M personnel and provide the collected logs.

Alarm Clearance

After the fault that triggers the alarm is rectified, the alarm is automatically cleared.

Related Information

None