Sahil Takiar has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/16406


Change subject: WIP IMPALA-9229: impala-shell 'profile' to show original and 
retried queries
......................................................................

WIP IMPALA-9229: impala-shell 'profile' to show original and retried queries

* Modifies TGetRuntimeProfileReq and TGetRuntimeProfileResp; adds a new
  option to TGetRuntimeProfileResp called include_query_attempts
* When include_query_attempts = true, the TGetRuntimeProfileResp will
  include the runtime profiles of all failed query attempts
* impala-shell has been modified to dump both the most recent query
  attempt and the retried query attempt
* Support for this has only been added to HS2 in order to keeps things
  simpler; given that Beeswax is being deprecated soon, it is probably
  worth adding Beeswax support
* Most of the code change is in impala-hs2-server and impala-server; I
  had to re-factor a lot of the code related to the GetRuntimeProfile
  method

Testing:
* Added new tests
* Almost all core tests are passing

Change-Id: I89cee02947b311e7bf9c7274f47dfc7214c1bb65
---
M be/src/service/client-request-state.cc
M be/src/service/client-request-state.h
M be/src/service/impala-beeswax-server.cc
M be/src/service/impala-hs2-server.cc
M be/src/service/impala-http-handler.cc
M be/src/service/impala-server.cc
M be/src/service/impala-server.h
M common/thrift/ImpalaService.thrift
M shell/impala_client.py
M shell/impala_shell.py
M tests/custom_cluster/test_shell_interactive.py
M tests/shell/test_shell_commandline.py
M tests/shell/util.py
13 files changed, 405 insertions(+), 122 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/06/16406/1
--
To view, visit http://gerrit.cloudera.org:8080/16406
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I89cee02947b311e7bf9c7274f47dfc7214c1bb65
Gerrit-Change-Number: 16406
Gerrit-PatchSet: 1
Gerrit-Owner: Sahil Takiar <stak...@cloudera.com>

Reply via email to