Users can use the Hue web UI to execute HiveQL statements in an MRS cluster.
and choose Hive. The Hive page is displayed.Hive supports the following functions:
The system displays all available tables. You can enter a keyword of the table name to search for the desired table.
Move the cursor to the row where the table or column is located and click
. Column details are displayed.
to execute the HiveQL statements.
to save them.Click
in the upper right corner to configure information such as files, functions, and settings.
Click
in the upper right corner to view the syntax and keyboard shortcut information.
and select Clear.Click Query History to view the HiveQL running status. You can view the history of all the statements or only the saved statements. If many historical records exist, you can enter keywords in the text box to search for desired records.
.
on the right of Files, and then click
to select files.You can click
next to Files to add a file resource.
area, enter a user-defined name and the class name of the function.You can click
next to Functions to add a customized function.
area, enter the Hive parameter name in the Key, and value in Value. The current Hive session connects to Hive based on the customized configuration.You can click
to add a parameter.