You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2018/09/11 06:15:00 UTC
[jira] [Commented] (IMPALA-7555) impala-shell can hang in connect
in certain cases
[ https://issues.apache.org/jira/browse/IMPALA-7555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16610145#comment-16610145 ]
Tim Armstrong commented on IMPALA-7555:
---------------------------------------
Just for reference, linking a couple of JIRA where RPCs are known to block for arbitrary amounts of time.
> impala-shell can hang in connect in certain cases
> -------------------------------------------------
>
> Key: IMPALA-7555
> URL: https://issues.apache.org/jira/browse/IMPALA-7555
> Project: IMPALA
> Issue Type: Bug
> Components: Clients
> Affects Versions: Impala 3.1.0
> Reporter: Anuj Phadke
> Priority: Major
>
> # Open a random listening port using netcat (nc -l 1234).
> # When I connect through impala-shell to this port, it hangs in the connect call. I think this is similar to impala-shell connecting a load balancer port and the connection between LB and impala going down.
> # Connect in impala-shell also calls PingImpalaService which does more than a normal TCP connect and can hang. Since there is no timeout set on this socket, connect can hang in this call.
> # We should set a timeout on the client socket to prevent hangs during the connect phase of session creation.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org