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/12/10 23:43:52 UTC

[GitHub] [incubator-druid] jon-wei removed a comment on issue #8934: HTML NPE in sampler if dimensionsSpecs is not set

jon-wei removed a comment on issue #8934: HTML NPE in sampler if dimensionsSpecs is not set
URL: https://github.com/apache/incubator-druid/issues/8934#issuecomment-564304416
 
 
   I tried this on the current 0.17.0 branch, the overlord can now accept that sampler spec but the resulting task fails with an NPE:
   
   ```
   2019-12-10T23:17:53,661 ERROR [task-runner-0-priority-0] org.apache.druid.indexing.common.task.IndexTask - Encountered exception in DETERMINE_PARTITIONS.
   java.lang.NullPointerException: inputRowParser
   	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:229) ~[guava-16.0.1.jar:?]
   	at org.apache.druid.segment.indexing.DataSchema.getDimensionsSpec(DataSchema.java:227) ~[druid-server-0.17.0-incubating-SNAPSHOT.jar:0.17.0-incubating-SNAPSHOT]
   	at org.apache.druid.indexing.common.task.IndexTask.collectIntervalsAndShardSpecs(IndexTask.java:729) ~[druid-indexing-service-0.17.0-incubating-SNAPSHOT.jar:0.17.0-incubating-SNAPSHOT]
   	at org.apache.druid.indexing.common.task.IndexTask.createShardSpecsFromInput(IndexTask.java:656) ~[druid-indexing-service-0.17.0-incubating-SNAPSHOT.jar:0.17.0-incubating-SNAPSHOT]
   	at org.apache.druid.indexing.common.task.IndexTask.determineShardSpecs(IndexTask.java:631) ~[druid-indexing-service-0.17.0-incubating-SNAPSHOT.jar:0.17.0-incubating-SNAPSHOT]
   	at org.apache.druid.indexing.common.task.IndexTask.runTask(IndexTask.java:490) [druid-indexing-service-0.17.0-incubating-SNAPSHOT.jar:0.17.0-incubating-SNAPSHOT]
   	at org.apache.druid.indexing.common.task.AbstractBatchIndexTask.run(AbstractBatchIndexTask.java:138) [druid-indexing-service-0.17.0-incubating-SNAPSHOT.jar:0.17.0-incubating-SNAPSHOT]
   	at org.apache.druid.indexing.overlord.SingleTaskBackgroundRunner$SingleTaskBackgroundRunnerCallable.call(SingleTaskBackgroundRunner.java:419) [druid-indexing-service-0.17.0-incubating-SNAPSHOT.jar:0.17.0-incubating-SNAPSHOT]
   	at org.apache.druid.indexing.overlord.SingleTaskBackgroundRunner$SingleTaskBackgroundRunnerCallable.call(SingleTaskBackgroundRunner.java:391) [druid-indexing-service-0.17.0-incubating-SNAPSHOT.jar:0.17.0-incubating-SNAPSHOT]
   	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_202]
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_202]
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_202]
   	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202]
   ```

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