Fields collected from Hive
The hive-scanner tool of Cloud Migration Hub (CMH) collects key fields from your Hive system.
Overview
The hive-scanner tool accesses the Hive metastore database to collect resource information. Only MySQL metastore databases are supported.
Basic information
The hive-scanner tool scans Hive objects and collects the following fields:
-
hiveVersion: the Hive version.
-
dbName: the name of the Hive database.
-
dbSize: the size of the Hive database.
-
tableNum: the number of tables.
-
partitionTableNum: the number of partitioned tables.
-
externalTableNum: the number of external tables.
-
transactionalTableNum: the number of transactional tables.
-
viewTableNum: the number of views.
-
functionNum: the number of functions.
Top objects
The hive-scanner tool collects metadata statistics on Hive databases and returns the following fields about top objects:
-
top10TableBySize: the top 10 tables by size.
-
top10TableByPartNum: the top 10 tables by the number of partitions.
-
top10PartBySize: the top 10 partitions by size.