Users can use the Hue web UI to manage Hive metadata in an MRS cluster.
For versions earlier than MRS 1.9.2, MRS clusters with Kerberos authentication enabled support this function.
Access the Hue web UI. For details, see Accessing the Hue Web UI.
Choose Data Browsers > Metastore Tables, and access Metastore Manager.
In the left navigation pane, move the cursor to a table and click on the right. The metadata of the Hive table is displayed.
On the metadata page of a Hive table, you can click in the upper right corner to import data, click
to browse data, and click
to view the location of the table file.
The Hue page is used to view and analyze data such as files and tables. Do not perform high-risk management operations such as deleting objects on the page. If an operation is required, you are advised to perform the operation on each component after confirming that the operation has no impact on services. For example, you can use the HDFS client to perform operations on HDFS files and use the Hive client to perform operations on Hive tables.
Click in the upper right corner to create a table in the database based on the uploaded files. Or click
in the upper right corner to manually create a table.
Metastore Manager supports the following functions:
The default database is default.
A Hive table name contains no more than 128 characters, including letters, numbers, or underscores (_), and must start with a letter or number.
If the file is not stored in HDFS, click Upload a file to upload the file from the local directory to HDFS. Multiple files can be simultaneously uploaded. The files cannot be empty.
If you select Create External Table, a Hive external table is created.
If you select Create External Table, set Input File or Location to a path.
If you select Leave Empty, an empty Hive table is created.
If your desired delimiter is not in the list, select Other.. and enter a delimiter.
A Hive table name contains no more than 128 characters, including letters, numbers, or underscores (_), and must start with a letter or number.
You can rename columns in batches by clicking on the right side of Bulk edit column names. Enter all column names and separate them by commas (,).
The default database is default.
A Hive table name contains no more than 128 characters, including letters, numbers, or underscores (_), and must start with a letter or number.
If your desired delimiter is not in the list, select Other.. and enter a delimiter.
Users can expand Hive to support more customized serialization classes.
Use default location is selected by default. If you want to customize a storage location, deselect the default value and specify a file storage location in External location by clicking .
A Hive table name contains no more than 128 characters, including letters, numbers, or underscores (_), and must start with a letter or number.
Click Add a column to add a new column.
The default database is default.
The following operations are supported: importing data, browsing data,, or viewing file storage location. When viewing all tables in the database, you can select tables and perform the following operations such as viewing tables and browsing data.
The Hue page is used to view and analyze data such as files and tables. Do not perform high-risk management operations such as deleting objects on the page. If an operation is required, you are advised to perform the operation on each component after confirming that the operation has no impact on services. For example, you can use the HDFS client to perform operations on HDFS files and use the Hive client to perform operations on Hive tables.