SQL: Compact logs for cancelled queries. This closes
@@ -668,6 +668,16 @@ public class GridMapQueryExecutor {
GridQueryFailResponse msg = new GridQueryFailResponse(qryReqId, err);
if (node.isLocal()) {
+ if (err instanceof QueryCancelledException) {
+ String errMsg = "Failed to run cancelled map query on local node: [localNodeId="
+ + node.id() + ", reqId=" + qryReqId + ']';
+
+ if (log.isDebugEnabled())
+ U.warn(log, errMsg, err);
+ else
+ log.info(errMsg);
+ }
+ else
U.error(log, "Failed to run map query on local node.", err);
h2.reduceQueryExecutor().onFail(node, msg);
