Help Center> MapReduce Service> FAQs> Big Data Service Development> What Should I Do If a HiveSQL/HiveScript Job Fails to be Submitted After Hive Is Added?
Updated on 2023-10-19 GMT+08:00

What Should I Do If a HiveSQL/HiveScript Job Fails to be Submitted After Hive Is Added?

This issue occurs because the MRS CommonOperations permission bound to the user group to which the user who submits the job belongs does not include the Hive permission after being synchronized to Manager. To solve this issue, perform the following operations:

  1. Add the Hive service.
  2. Log in to the IAM console and create a user group. The policy bound to the user group is the same as that of the user group to which the user who submits the job belongs.
  3. Add the user who submits the job to the new user group.
  4. Refresh the cluster details page on the MRS console. The status of IAM user synchronization is Not synchronized.
  5. Click Synchronize on the right of IAM User Sync. Go back to the previous page. In the navigation pane on the left, choose Operation Logs and check whether the user is changed.
    • If yes, submit the Hive job again.
    • If no, check whether all the preceding operations are complete.
      • If yes, contact an O&M engineer.
      • If no, submit the Hive job after the preceding operations are complete.

Big Data Service Development FAQs

more