Updated on 2024-10-25 GMT+08:00

Configuring Hive Transform

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. Log in to FusionInsight Manager. And choose 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.