Enabling stored procedures for Hive in Cloudera Data Hub
To create, edit, and drop procedures and functions that are written in Hive Hybrid
Procedural SQL (HPL/SQL) using the Hue query editor, you must enable the hplsql option in
the Hue Advanced Configuration Snippet.
Log in to the Cloudera web interface as an
Administrator.
Go to Cloudera Management Console > Environments, select your environment and go to the Data
Lake tab.
Click on the CM URL to open Cloudera Manager.
Go to Clusters > Hue > Configuration and add the following lines in the Hue Service
Advanced Configuration Snippet (Safety Valve) for
hue_safety_valve.ini field:
Go to Clusters > Hive on Tez > Configuration and add the following property name and its value in the
Hive Service Advanced Configuration Snippet (Safety Valve) for
hive-site.xml field: