Updated on 2022-09-22 GMT+08:00

How Do I Monitor the Hive Table Size?

Question

How do I monitor the Hive table size?

Answer

The HDFS refined monitoring function allows you to monitor the size of a specified table directory.

Prerequisites

  • The Hive and HDFS components are running properly.
  • The HDFS refined monitoring function is normal.

Procedure

  1. Log in to FusionInsight Manager.
  2. Choose Cluster > Name of the desired cluster > Services > HDFS > Resource.
  3. Click the first icon in the upper left corner of Resource Usage (by Directory), as shown in the following figure.

  1. In the displayed sub page for configuring space monitoring, click Add.
  2. In the displayed Add a Monitoring Directory dialog box, set Name to the name or the user-defined alias of the table to be monitored and Path to the path of the monitored table. Click OK. In the monitoring result, the horizontal coordinate indicates the time, and the vertical coordinate indicates the size of the monitored directory.