You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/03/26 22:29:45 UTC

[GitHub] [incubator-druid] surekhasaharan commented on a change in pull request #7348: Suppress stack trace when deserializing task payload fails

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org