Help Center/ MapReduce Service/ Component Operation Guide (Normal)/ Using Hive/ Enabling or Disabling the Transform Function
Updated on 2022-09-15 GMT+08:00

Enabling or Disabling the Transform Function

Scenario

The Transform function is not allowed by Hive of the open source version.

MRS Hive supports the configuration of the Transform function. The function is disabled by default, which is the same as that of the open-source community version.

Users can modify configurations of the Transform function to enable the function. However, security risks exist when the Transform function is enabled.

The Transform function can be disabled only in security mode.

Procedure

  1. The Hive service configuration page is displayed.

    • For versions earlier than MRS 3.x, click the cluster name. On the cluster details page that is displayed, choose Components > Hive > Service Configuration, and select All from the Basic drop-down list.

      If the Components tab is unavailable, complete IAM user synchronization first. (On the Dashboard page, click Synchronize on the right side of IAM User Sync to synchronize IAM users.)

    • For MRS 3.x or later, log in to FusionInsight Manager. For details, see Accessing FusionInsight Manager (MRS 3.x or Later). And choose Cluster > Name of the desired cluster > Services > Hive > Configurations > All Configurations.

  2. Enter the parameter name in the search box, search for hive.security.transform.disallow, change the parameter value to true or false, and restart all HiveServer instances.

    • If this parameter is set to true, the Transform function is disabled, which is the same as that in the open-source community version.
    • If this parameter is set to false, the Transform function is enabled, which poses security risks.