Hive Metastore Connection Pool Test
This test monitors the usage of the connection pools on the Metastore of the target Apache Hive data warehouse. Besides, this test accurately pinpoints the connection pool that is being over-utilized and hence running out of free connections. In the process, this test also reports the average time taken for a connection to be granted from each connection pool. Using this test, administrators can easily figure out the connection pool that is busy.
Target of the test : Apache Hive
Agent deploying the test : An internal/remote agent
Outputs of the test : One set of results for each connection pool to the target Apache Hive.
Parameter | Description |
---|---|
Test period |
How often should the test be executed. |
Host |
The IP address of the target server that is being monitored. |
Port |
The port number through which the Apache Hive communicates. The default port is 10002. |
SSL |
By default, the SSL flag is set to False, indicating that the target Apache Hive is not SSL-enabled by default. To enable the test to connect to an SSL-enabled Apache Hive, set the SSL flag to True. |
DD Frequency |
Refers to the frequency with which detailed diagnosis measures are to be generated for this test. The default is 1:1. This indicates that, by default, detailed measures will be generated every time the test runs, and also every time the test detects a problem. You can modify this frequency, if you so desire. Also, if you intend to disable the detailed diagnosis capability for this test, you can do so by specifying none against DD Frequency. |
Measurement | Description | Measurement Unit | Interpretation |
---|---|---|---|
Total created connections |
Indicates the number of connections created in this connection pool during the last measurement period. |
Number |
|
Total free connections |
Indicates the number of connections that are available for use in this connection pool. |
Number |
Ideally, the value of this measure is preferred to be high. A very low value of this measure could result in a shortage of connections in the pool. |
Total leased connections |
Indicates the number of connections currently in use in this connection pool during the last measurement period. |
Number |
|
Connections requested |
Indicates the number of connections requested for this connection pool during the last measurement period. |
Number |
|
Average connection wait time |
Indicates the average time a client has to wait before a connection was granted from this connection pool. |
Milliseconds |
A low value is desired for this measure. Compare the value of this measure across the connection pools to figure out the connection pool that takes too long to grant a connection i.e., in other words administrator can figure out the connection pool that is too busy to grant a connection. |