You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tim Armstrong (Jira)" <ji...@apache.org> on 2020/12/01 04:42:00 UTC
[jira] [Created] (IMPALA-10367) Impala-shell internal error -
UnboundLocalError, local variable 'retry_msg' referenced before assign
Tim Armstrong created IMPALA-10367:
--------------------------------------
Summary: Impala-shell internal error - UnboundLocalError, local variable 'retry_msg' referenced before assign
Key: IMPALA-10367
URL: https://issues.apache.org/jira/browse/IMPALA-10367
Project: IMPALA
Issue Type: Bug
Components: Clients
Affects Versions: Impala 4.0
Reporter: Tim Armstrong
Assignee: Abhishek Rawat
I saw this error when cancelling a query from impala-shell.
{noformat}
[localhost.EXAMPLE.COM:21050] tpch_parquet> explain select STRAIGHT_JOIN count(distinct l_partkey)
from lineitem join [BROADCAST] supplier on l_suppkey = s_suppkey;
Query: explain select STRAIGHT_JOIN count(distinct l_partkey)
from lineitem join [BROADCAST] supplier on l_suppkey = s_suppkey
Caught exception [Errno 4] Interrupted system call, type=<class 'socket.error'> in ExecuteStatement.
Cancelling Query
Caught exception [Errno 4] Interrupted system call, type=<class 'socket.error'> in CloseSession.
Warning: close session RPC failed: [Errno 4] Interrupted system call, <class 'socket.error'>
Opened TCP connection to localhost.EXAMPLE.COM:21050
Caught exception [Errno 4] Interrupted system call, type=<class 'socket.error'> in ExecuteStatement.
Caught exception [Errno 4] Interrupted system call, type=<class 'socket.error'> in CloseSession.
Warning: close session RPC failed: [Errno 4] Interrupted system call, <class 'socket.error'>
Error connecting: UnboundLocalError, local variable 'retry_msg' referenced before assign
{noformat}
This code was introduced by IMPALA-9466. I looked at the code briefly and AFAICT it happens when the retry logic is disabled but we hit a TTransportException or similar error.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)