You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by zh...@apache.org on 2020/06/05 02:19:06 UTC
[incubator-doris] branch master updated: Add some log to make it
easier to find out bug (#3770)
This is an automated email from the ASF dual-hosted git repository.
zhaoc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new cdd1733 Add some log to make it easier to find out bug (#3770)
cdd1733 is described below
commit cdd17333ba6c5f0fc627260d43e9c33ecaede101
Author: yangzhg <78...@qq.com>
AuthorDate: Fri Jun 5 10:18:58 2020 +0800
Add some log to make it easier to find out bug (#3770)
Added some logs to record to which be a query was sent.
Increasing the efficiency of tracing the problem
---
fe/src/main/java/org/apache/doris/qe/Coordinator.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/fe/src/main/java/org/apache/doris/qe/Coordinator.java b/fe/src/main/java/org/apache/doris/qe/Coordinator.java
index 66abaab..c0b2e85 100644
--- a/fe/src/main/java/org/apache/doris/qe/Coordinator.java
+++ b/fe/src/main/java/org/apache/doris/qe/Coordinator.java
@@ -409,12 +409,15 @@ public class Coordinator {
toBrpcHost(execBeAddr),
queryOptions.query_timeout * 1000);
+ LOG.info("dispatch query job: {} to {}", DebugUtil.printId(queryId), topParams.instanceExecParams.get(0).host);
+
// set the broker address for OUTFILE sink
ResultSink resultSink = (ResultSink) topParams.fragment.getSink();
if (resultSink.isOutputFileSink() && resultSink.needBroker()) {
FsBroker broker = Catalog.getCurrentCatalog().getBrokerMgr().getBroker(resultSink.getBrokerName(),
execBeAddr.getHostname());
resultSink.setBrokerAddr(broker.ip, broker.port);
+ LOG.info("OUTFILE through broker: {}:{}", broker.ip, broker.port);
}
} else {
@@ -425,6 +428,7 @@ public class Coordinator {
List<Long> relatedBackendIds = Lists.newArrayList(addressToBackendID.values());
Catalog.getCurrentCatalog().getLoadManager().initJobProgress(jobId, queryId, instanceIds,
relatedBackendIds);
+ LOG.info("dispatch load job: {} to {}", DebugUtil.printId(queryId), addressToBackendID.keySet());
}
// to keep things simple, make async Cancel() calls wait until plan fragment
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org