mirror of https://github.com/apache/druid.git
RemoteTaskActionClient: Better logging
This commit is contained in:
parent
34d6b3a7f0
commit
765e70bc8e
|
@ -82,6 +82,8 @@ public class RemoteTaskActionClient implements TaskActionClient
|
||||||
|
|
||||||
return jsonMapper.convertValue(responseDict.get("result"), taskAction.getReturnTypeReference());
|
return jsonMapper.convertValue(responseDict.get("result"), taskAction.getReturnTypeReference());
|
||||||
} catch(IOException e) {
|
} catch(IOException e) {
|
||||||
|
log.warn(e, "Exception submitting action for task: %s", task.getId());
|
||||||
|
|
||||||
if (retryPolicy.hasExceededRetryThreshold()) {
|
if (retryPolicy.hasExceededRetryThreshold()) {
|
||||||
throw e;
|
throw e;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue