Qifan Chen has uploaded a new patch set (#2). ( http://gerrit.cloudera.org:8080/17955 )
Change subject: IMPALA-10967 Load data should handle AWS NLB-type timeout ...................................................................... IMPALA-10967 Load data should handle AWS NLB-type timeout This patch addresses Impala client hang due to AWS network load balancer timeout which is fixed at 350s. When some long data loading operations are executing and the timeout happens, AWS silently drops the connection and the Impala client enters the hang state. The fix maintains the current TCLIService protocol between the client and Impala server and utilizes a separate thread to run the data loading and metadata refresh operation. Since this thread is waited for in a wait thread which runs asynchronously, the execution of the entire operation will not cause a wait on the Impala client. The Impala client can check the status of the operation via repeated GetOperationStatus() call. Testing: 1. Add a new test in load.test to verify the asynchronous execution in BE keeps the session live; 2. Core tests [TBD] Change-Id: I8c2437e9894510204303ec07710cad60102c8821 --- M be/src/service/client-request-state.cc M be/src/service/client-request-state.h M testdata/workloads/functional-query/queries/QueryTest/load.test 3 files changed, 88 insertions(+), 29 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/55/17955/2 -- To view, visit http://gerrit.cloudera.org:8080/17955 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: I8c2437e9894510204303ec07710cad60102c8821 Gerrit-Change-Number: 17955 Gerrit-PatchSet: 2 Gerrit-Owner: Qifan Chen <qc...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Qifan Chen <qc...@cloudera.com>