Updated on 2022-02-22 GMT+08:00

Failed to Restart the Hive Service

Issue

After the Hive service configuration is modified, the configuration fails to be saved. The configuration status of the Hive service on Manager is Failed.

Symptom

User A opens the Hive configuration file in the background of the MRS node and does not close the file. User B modifies the Hive configuration item in Service Management on the MRS Manager page, saves the configuration, and restarts the Hive service. However, the configuration fails to be saved and the Hive service fails to be started.

Cause Analysis

When user B modifies the configuration on the MRS Manager page, the configuration file is opened by user A in the background of an MRS node. As a result, the configuration file cannot be replaced and the Hive service fails to be started.

Procedure

  1. Manually close the Hive configuration file opened in the background of the cluster node.
  2. Modify the Hive configuration on MRS Manager and save the configuration.
  3. Restart the Hive service.