You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Joe McDonnell (JIRA)" <ji...@apache.org> on 2018/08/27 16:50:00 UTC

[jira] [Resolved] (IMPALA-7476) test_statestore.py statestore client persists after the test is over

     [ https://issues.apache.org/jira/browse/IMPALA-7476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe McDonnell resolved IMPALA-7476.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 3.1.0

> test_statestore.py statestore client persists after the test is over
> --------------------------------------------------------------------
>
>                 Key: IMPALA-7476
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7476
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 3.1.0
>            Reporter: Joe McDonnell
>            Assignee: Joe McDonnell
>            Priority: Major
>             Fix For: Impala 3.1.0
>
>
> test_statestore.py does several python tests that build statestore clients to unit test statestored. Based on the logs from statestored, these test clients persist long after the test_statestore.py has completed. They continue to exist for the rest of the invocation of pytest.
> This results in a large amount of logging like this:
> {noformat}
> I0821 16:55:46.583678 25215 thrift-util.cc:123] TSocket::open() connect() <Host: localhost Port: 46256>Connection refused
> I0821 16:55:46.583820 25215 thrift-client.cc:78] Couldn't open transport for localhost:46256 (connect() failed: Connection refused)
> I0821 16:55:46.583890 25215 thrift-client.cc:94] Unable to connect to localhost:46256
> I0821 16:55:46.583959 25215 statestore.cc:930] Unable to send heartbeat message to subscriber python-test-client-aad157c8-a59c-11e8-814d-484d7ea85cac, received error: Couldn't open transport for localhost:46256 (connect() failed: Connection refused)
> I0821 16:55:46.585145 25222 thrift-util.cc:123] TSocket::open() connect() <Host: localhost Port: 42796>Connection refused
> I0821 16:55:46.585315 25222 thrift-client.cc:78] Couldn't open transport for localhost:42796 (connect() failed: Connection refused)
> I0821 16:55:46.585371 25222 thrift-client.cc:94] Unable to connect to localhost:42796
> I0821 16:55:46.585429 25222 statestore.cc:930] Unable to send heartbeat message to subscriber python-test-client-b5fb8650-a59c-11e8-8307-484d7ea85cac, received error: Couldn't open transport for localhost:42796 (connect() failed: Connection refused)
> {noformat}
> This does not seem to impact any tests, but it does produce some log spew in the normal output.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)