impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Jacobs (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-5558/IMPALA-5576: Reopen stale client connection
Date Sun, 25 Jun 2017 19:32:29 GMT
Matthew Jacobs has posted comments on this change.

Change subject: IMPALA-5558/IMPALA-5576: Reopen stale client connection

Patch Set 8:

File be/src/rpc/

PS8, Line 198: TTransportException::END_OF_FILE &&
             :              strstr(e.what(), "No more data to read.
> It comes from the following line in the thrift library:
Can you put this in a comment as well?
File be/src/runtime/

PS8, Line 362: connect_success
> In theory, we can try creating connection for 3 times and still fails. In w
I was also wondering if this return value isn't very useful. What if we instead return when
the operation was definitely completed successfully, i.e. the rpc is sent w/ rpc_status OK
OR this is a no-op (e.g. no exec rpc sent/completed successfully already). Then we can update
the logging statement in that uses this.

I don't see anywhere that we'd get these error status_ logged though. Perhaps if there were
any errors, then should be logging the output of Coordinator::GetErrorLog()
which has the merged backend_state_ statuses.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I4d722c8ad3bf0e78e89887b6cb286c69ca61b8f5
Gerrit-PatchSet: 8
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Michael Ho <>
Gerrit-Reviewer: Dan Hecht <>
Gerrit-Reviewer: Juan Yu <>
Gerrit-Reviewer: Lars Volker <>
Gerrit-Reviewer: Matthew Jacobs <>
Gerrit-Reviewer: Michael Ho <>
Gerrit-Reviewer: Mostafa Mokhtar <>
Gerrit-Reviewer: Sailesh Mukil <>
Gerrit-HasComments: Yes

View raw message