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_r269341615
 
 

 ##########
 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:
   I think it should be "setting task to null" as in the next line we have 
`task = null;`

----------------------------------------------------------------
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]

Reply via email to