surekhasaharan commented on a change in pull request #7348: Suppress stack
trace when deserializing task payload fails
URL: https://github.com/apache/incubator-druid/pull/7348#discussion_r269349119
##########
File path:
server/src/main/java/org/apache/druid/metadata/SQLMetadataStorageActionHandler.java
##########
@@ -357,7 +357,7 @@ private String getWhereClauseForActiveStatusesQuery(String
dataSource)
task = objectMapper.readValue(resultSet.getBytes("payload"),
entryType);
}
catch (IOException e) {
- log.error(e, "Encountered exception while deserializing task payload,
setting task to null");
+ log.warn("Encountered exception[%s] while deserializing task payload,
setting payload to null", e.getMessage());
Review comment:
Oh I didn't read the code before this log, yeah payload is correct, i got
confused by the variable "task".
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]