Hello Thomas Tauber-Marshall, Lars Volker, Todd Lipcon, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/14662

to look at the new patch set (#3).

Change subject: IMPALA-9128: part 1: log on slow data stream RPCs
......................................................................

IMPALA-9128: part 1: log on slow data stream RPCs

Allows modifying the threshold for KRPC's server-side slow
RPC logging (which is enabled for all KRPCs).

Added additional logging for data stream RPCs TransmitData
and EndDataStream, and for slow waits that delay the query.

Adds statistics for RPC time to provide some clues if there
are slow data stream RPCs.

I tested this with a low threshold and delays added:
  start-impala-cluster.py \
      --impalad_args=--impala_slow_rpc_threshold_ms=1 \
      --impalad_args=--debug_actions=END_DATA_STREAM_DELAY:JITTER@3000@1.0

Example Profile output:
- NetworkThroughput: (Avg: 102.98 MB/sec ; Min: 5.58 MB/sec ; Max: 171.79 
MB/sec ; Number of samples: 296)
- RpcNetworkTime: (Avg: 13.468ms ; Min: 91.309us ; Max: 2s395ms ; Number of 
samples: 299)
- RpcRecvrTime: (Avg: 13.406ms ; Min: 83.160us ; Max: 2s395ms ; Number of 
samples: 299)

Example log output (with log threshold of 1ms):
I1107 14:33:50.487251 24933 krpc-data-stream-sender.cc:363] 
ad4fa70619170ace:b58b2eba00000006] Long delay waiting for RPC to 
127.0.1.1:27000 (fragment_instance_id=ad4fa70619170ace:b58b2eba00000000): took 
451.036ms
I1107 14:33:51.295518 21361 rpcz_store.cc:265] Call 
impala.DataStreamService.EndDataStream from 127.0.0.1:43952 (request call id 
82) took 1259ms. Request Metrics: {}
I1107 14:33:44.843204 21332 krpc-data-stream-sender.cc:342] Slow TransmitData 
RPC to 127.0.1.1:27000 
(fragment_instance_id=ad4fa70619170ace:b58b2eba00000006): took 2.194ms. 
Receiver time: 457.902us Network time: 1.736ms
I1107 14:33:45.139068 21333 krpc-data-stream-sender.cc:342] Slow EndDataStream 
RPC to 127.0.1.1:27001 
(fragment_instance_id=ad4fa70619170ace:b58b2eba00000004): took 61.340ms. 
Receiver time: 81.908us Network time: 61.259ms

Change-Id: I258ac91b9fbbdbc86d0e8091c34f511f8957c4cd
---
M be/src/common/global-flags.cc
M be/src/rpc/rpc-mgr.cc
M be/src/runtime/krpc-data-stream-sender.cc
M be/src/runtime/krpc-data-stream-sender.h
4 files changed, 87 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/62/14662/3
--
To view, visit http://gerrit.cloudera.org:8080/14662
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I258ac91b9fbbdbc86d0e8091c34f511f8957c4cd
Gerrit-Change-Number: 14662
Gerrit-PatchSet: 3
Gerrit-Owner: Tim Armstrong <tarmstr...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Lars Volker <l...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tmarsh...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <tarmstr...@cloudera.com>
Gerrit-Reviewer: Todd Lipcon <t...@apache.org>

Reply via email to