Help Center/ MapReduce Service/ FAQs/ Big Data Service Development/ Can the Hive Driver Be Interconnected with DBCP2?
Updated on 2023-10-19 GMT+08:00

Can the Hive Driver Be Interconnected with DBCP2?

Question: Can the Hive driver be interconnected with DBCP2?

Answer: The Hive driver cannot be interconnected with the DBCP2 database connection pool. The DBCP2 database connection pool invokes the isValid method to check whether a connection is available. However, Hive directly throws an exception when implementing this method.