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 2020/02/24 10:41:18 UTC

[GitHub] [druid] venkatramanp opened a new issue #9398: Provide better message for non-existing datasource while submitting compaction task

venkatramanp opened a new issue #9398: Provide better message for non-existing datasource while submitting compaction task
URL: https://github.com/apache/druid/issues/9398
 
 
   ### Description
   
   When I fired a compaction task with a typo in datasource name, I got the following errors:
   
   ```2020-02-22T20:29:03,250 WARN [TaskQueue-Manager] org.apache.druid.indexing.overlord.TaskQueue - Exception thrown during isReady for task: compact_tset_v2_oeipkkob_2020-02-22T20:29:03.240Zjava.lang.IllegalArgumentException: Empty list of intervalsat org.apache.druid.java.util.common.JodaUtils.umbrellaInterval(JodaUtils.java:96) ~[druid-core-0.17.0-iap3.jar:0.17.0-iap3]at org.apache.druid.indexing.common.task.CompactionIntervalSpec.validateSegments(CompactionIntervalSpec.java:81) ~[druid-indexing-service-0.17.0-iap3.jar:0.17.0-iap3]at org.apache.druid.indexing.common.task.CompactionTask$SegmentProvider.checkAndGetSegments(CompactionTask.java:835) ~[druid-indexing-service-0.17.0-iap3.jar:0.17.0-iap3]at org.apache.druid.indexing.common.task.CompactionTask.isReady(CompactionTask.java:327) ~[druid-indexing-service-0.17.0-iap3.jar:0.17.0-iap3]at org.apache.druid.indexing.overlord.TaskQueue.manage(TaskQueue.java:264) [druid-indexing-service-0.17.0-iap3.jar:0.17.0-iap3]at org.apache.druid.indexing.overlord.TaskQueue.access$000(TaskQueue.java:78) [druid-indexing-service-0.17.0-iap3.jar:0.17.0-iap3]at org.apache.druid.indexing.overlord.TaskQueue$1.run(TaskQueue.java:154) [druid-indexing-service-0.17.0-iap3.jar:0.17.0-iap3]at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_181]at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_181]at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_181]at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_181]at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]```
   
   In this case, I had typed ` tset_v2` as the datasource in the compaction spec instead of `test_v2`.
   
   The error should have reported `Datasource tset_v2 doesn't exist` instead of the above cryptic error message.
   
   ### Motivation
   
   It would just make it easier to debug issues.

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