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 2022/12/12 19:40:01 UTC

[GitHub] [druid] jon-wei commented on a diff in pull request #13513: Draft: prototype emitting unparseable events from taskreports

jon-wei commented on code in PR #13513:
URL: https://github.com/apache/druid/pull/13513#discussion_r1046307201


##########
indexing-service/src/main/java/org/apache/druid/indexing/common/task/IndexTask.java:
##########
@@ -546,6 +553,41 @@ public TaskStatus runTask(final TaskToolbox toolbox)
     }
   }
 
+  private void emitUnparseableEvents(TaskToolbox toolbox)
+  {
+    String taskId = getId();
+    for(Map.Entry<String, Object> unparseableEvents : getTaskCompletionUnparseableEvents().entrySet()) {
+      if (unparseableEvents.getValue() instanceof List) {

Review Comment:
   It should always be a List



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

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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