An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block #3777
-
Is there an existing issue for this?
DescriptionWe are running Impala queries from Hue -> impala Editor. getting the below issue frequenlty with no pattern of occurance. Here is the stacktrace.
Steps To ReproduceThis issue is not repro everytime. Logs
another occurance stacktrace is the below.
Hue versionOpen source release 4.10 |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Hi @basapuram-kumar and thanks for reporting. @Harshg999 can you take a look here since you already worked investigated #3035 |
Beta Was this translation helpful? Give feedback.
-
This issue is stale because it has been open 30 days with no activity and is not labeled "Prevent stale". Remove "stale" label or comment or this will be closed in 10 days. |
Beta Was this translation helpful? Give feedback.
-
Hello @Harshg999, |
Beta Was this translation helpful? Give feedback.
-
Hey @basapuram-kumar, this issue is a bit hard to reproduce and gut feeling is that maybe this depends on how the db instance is configured. If the links to the previous similar issue didn't help you out, then can you try using latest Hue version to see if that helps? You're using py2 + Django1.11 based Hue, try using latest py3.8 + Django3.2 Hue if possible. |
Beta Was this translation helpful? Give feedback.
-
This issue is stale because it has been open 30 days with no activity and is not labeled "Prevent stale". Remove "stale" label or comment or this will be closed in 10 days. |
Beta Was this translation helpful? Give feedback.
-
The below configs worked to overcome this issue. innodb_lock_wait_timeout=300 Changed the DB host Increase the Mem_limit (80 GB -> 100 GB) in Impala The above are helped to fix the issue. Thanks. |
Beta Was this translation helpful? Give feedback.
The below configs worked to overcome this issue.
"serv_conn_timeout" in hue
innodb_lock_wait_timeout=300
innodb_rollback_on_timeout=ON
wait_timeout=28800
interactive_timeout=28800
Changed the DB host
Increase the Mem_limit (80 GB -> 100 GB) in Impala
The above are helped to fix the issue. Thanks.