Traceback (most recent call last):


 "C:\spark\spark-2.3.4-bin-hadoop2.7\python\lib\py4j-0.10.7-src.zip\py4j\java_gateway.py", line 929, in _get_connection
IndexError: pop from an empty deque


AND lw.blocking_trx_id = trx.trx_id;，错误信息Traceback (most recent call last):


 "/opt/tools/Python-3.6.5/archery-1.7.3/sql/engines/mysql.py", line 121, in query

effect_row = cursor.execute(sql)


 "/opt/tools/Python-3.6.5/venv4archery/lib/python3.6/site-packages/MySQLdb/cursors.py", line 209, in execute

res = self._query(query)


 "/opt/tools/Python-3.6.5/venv4archery/lib/python3.6/site-packages/MySQLdb/cursors.py", line 315, in _query

db.query(q)


 "/opt/tools/Python-3.6.5/venv4archery/lib/python3.6/site-packages/MySQLdb/connections.py", line 239, in query

_mysql.connection.query(self, query)
MySQLdb._exceptions.OperationalError: (2013, 'Lost connection to MySQL server during query')
