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 "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/09/19 22:25:00 UTC

[jira] [Commented] (IMPALA-7488) TestShellCommandLine::test_cancellation hangs occasionally

    [ https://issues.apache.org/jira/browse/IMPALA-7488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16621271#comment-16621271 ] 

ASF subversion and git services commented on IMPALA-7488:
---------------------------------------------------------

Commit 1d4a3f0e4f1f34e09759160981eca2d666ca58d3 in impala's branch refs/heads/master from [~twmarshall]
[ https://git-wip-us.apache.org/repos/asf?p=impala.git;h=1d4a3f0 ]

IMPALA-7488: Fix hang in test_cancellation

test_cancellation runs a impala-shell process with a query specified
then sends a SIGINT and confirms that the shell cancels the query and
exits.

The hang was happening because the shell's signal handler was
incorrectly using the same Thirft connection when calling Close() as
the main shell thread, which is not thread safe.

Testing:
- Ran test_cancellation in a loop 500 times. Previously the hang would
  repro about every 10 runs.

Change-Id: I9c4b570604f7706712eb8e19b1ce69bf35cf15e2
Reviewed-on: http://gerrit.cloudera.org:8080/11465
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-by: Tim Armstrong <ta...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> TestShellCommandLine::test_cancellation hangs occasionally
> ----------------------------------------------------------
>
>                 Key: IMPALA-7488
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7488
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 3.1.0
>            Reporter: Tim Armstrong
>            Assignee: Thomas Tauber-Marshall
>            Priority: Critical
>              Labels: broken-build
>         Attachments: psauxf.txt
>
>
> We've seen a couple of hung builds with no queries running on the cluster. I got "ps auxf" output and it looks like an impala-shell process is hanging around.
> I'm guessing the IMPALA-7407 fix somehow relates to this.



--
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