jihoonson commented on a change in pull request #10517:
URL: https://github.com/apache/druid/pull/10517#discussion_r509645665



##########
File path: 
integration-tests/src/test/java/org/apache/druid/tests/indexer/AbstractIndexerTest.java
##########
@@ -69,6 +73,16 @@ protected Closeable unloader(final String dataSource)
 
   protected void unloadAndKillData(final String dataSource)
   {
+    // Get all failed task logs
+    List<TaskResponseObject> allTasks = 
indexer.getCompleteTasksForDataSource(dataSource);
+    for (TaskResponseObject task : allTasks) {
+      if (task.getStatus().isFailure()) {
+        LOG.info("------- Found failed task. Start log:");
+        LOG.info(indexer.getTaskLog(task.getId()));

Review comment:
       Oh yeah, forgot that it can be a negative. I think it should be a bit 
larger than that though. I usually don't find anything interesting from the 
logs which the UI shows by default.




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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to