deniskuzZ commented on PR #6604:
URL: https://github.com/apache/hive/pull/6604#issuecomment-4979682333

   @Aggarwal-Raghav 
   Connection to backend db got lost during  
`TxnStoreMutex.LockHandleImpl.releaseLocks()` and there is no rollback or 
commit happening in the catch block. As a result subsequent calls are failing 
with connections closed in Initiator. 
   ````
   2026-06-27 00:35:58,992 WARN com.zaxxer.hikari.pool.ProxyConnection: 
[Thread-16]: mutex - Connection com.mysql.cj.jdbc.ConnectionImpl@383f41dd 
marked as broken because of SQLSTATE(08S01), ErrorCode(0)
   com.mysql.cj.jdbc.exceptions.CommunicationsException: The last packet 
successfully received from the server was 1,141,329 milliseconds ago. The last 
packet sent successfully to the server was 1,141,329 milliseconds ago. is 
longer than the server configured value of 'wait_timeout'. You should consider 
either expiring and/or testing connection validity before use in your 
application, increasing the server configured values for client timeouts, or 
using the Connector/J connection property 'autoReconnect=true' to avoid this 
problem.
   at 
com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:165)
 ~[mysql-connector-j.jar:9.0.0]
   at 
com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:55)
 ~[mysql-connector-j.jar:9.0.0]
   at 
com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:987)
 ~[mysql-connector-j.jar:9.0.0]
   at 
com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1165)
 ~[mysql-connector-j.jar:9.0.0]
   at 
com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1100)
 ~[mysql-connector-j.jar:9.0.0]
   at 
com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1466)
 ~[mysql-connector-j.jar:9.0.0]
   at 
com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1083)
 ~[mysql-connector-j.jar:9.0.0]
   at 
com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61)
 ~[hive-exec.jar]
   at 
com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java)
 ~[hive-exec.jar]
   at 
org.springframework.jdbc.core.JdbcTemplate.lambda$update$2(JdbcTemplate.java:965)
 ~[spring-jdbc-5.3.39.jar:5.3.39]
   at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:648) 
~[spring-jdbc-5.3.39.jar:5.3.39]
   at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:960) 
~[spring-jdbc-5.3.39.jar:5.3.39]
   at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:981) 
~[spring-jdbc-5.3.39.jar:5.3.39]
   at 
org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate.update(NamedParameterJdbcTemplate.java:331)
 ~[spring-jdbc-5.3.39.jar:5.3.39]
   at 
org.apache.hadoop.hive.metastore.txn.TxnStoreMutex$LockHandleImpl.releaseLocks(TxnStoreMutex.java:186)
 ~[hive-exec.jar]
   ````


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to