impala-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tarmstr...@apache.org
Subject [1/2] incubator-impala git commit: IMPALA-4293: query profile should include error log
Date Wed, 05 Apr 2017 05:16:10 GMT
Repository: incubator-impala
Updated Branches:
  refs/heads/master be8d15122 -> 676a88f34


IMPALA-4293: query profile should include error log

This puts the string-ified error log into an "Errors:"
field in the profile.

Testing:
Visually checked that the field showed up in the profiles in
the web UI. Ran core tests.

Change-Id: Ib9b7298df6a6f05a8cdb486283ae4728b00a5ef1
Reviewed-on: http://gerrit.cloudera.org:8080/6553
Reviewed-by: Henry Robinson <henry@cloudera.com>
Tested-by: Impala Public Jenkins


Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/cfcb5f40
Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/cfcb5f40
Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/cfcb5f40

Branch: refs/heads/master
Commit: cfcb5f40017bc596bb26d4736ca73a318f5e0e6d
Parents: be8d151
Author: Tim Armstrong <tarmstrong@cloudera.com>
Authored: Tue Apr 4 10:43:22 2017 -0700
Committer: Impala Public Jenkins <impala-public-jenkins@gerrit.cloudera.org>
Committed: Wed Apr 5 03:03:57 2017 +0000

----------------------------------------------------------------------
 be/src/service/impala-server.cc | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/cfcb5f40/be/src/service/impala-server.cc
----------------------------------------------------------------------
diff --git a/be/src/service/impala-server.cc b/be/src/service/impala-server.cc
index 313708e..80c1507 100644
--- a/be/src/service/impala-server.cc
+++ b/be/src/service/impala-server.cc
@@ -966,6 +966,8 @@ Status ImpalaServer::UnregisterQuery(const TUniqueId& query_id, bool
check_infli
       exec_summary = PrintExecSummary(summary);
     }
     exec_state->summary_profile()->AddInfoString("ExecSummary", exec_summary);
+    exec_state->summary_profile()->AddInfoString("Errors",
+        exec_state->coord()->GetErrorLog());
 
     const unordered_set<TNetworkAddress>& unique_hosts =
         exec_state->schedule()->unique_hosts();


Mime
View raw message