Help Center/ MapReduce Service/ Component Operation Guide (LTS)/ Using Impala/ Impala FAQ/ What Should I Do If the Impalad Session Connection Remains Inactive for a Long Time yet the Connection Does Not Get Disconnected Automatically?
Updated on 2025-07-16 GMT+08:00

What Should I Do If the Impalad Session Connection Remains Inactive for a Long Time yet the Connection Does Not Get Disconnected Automatically?

Question

After JDBC is used to connect to Impala for query, the Impalad session connection is not automatically disconnected even if no query request is submitted for a long time.

Answer

To permanently apply the configuration, log in to FusionInsight Manager, choose Cluster > Services > Impala, and click Configurations, and then click All Configurations. In the tab, choose Impalad(Role) > Customization. Add parameter --idle_session_timeout to impalad.customized.configs, and set its value based on your actual business needs, with the unit being seconds. Save the configuration and restart the instance whose configuration expired.