druid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [druid] egor-ryashin opened a new issue #11324: GeneratorInputSource defaults lead to exception
Date Wed, 02 Jun 2021 12:33:32 GMT

egor-ryashin opened a new issue #11324:
URL: https://github.com/apache/druid/issues/11324

   MiddleManager fails to ingest using `generator` input source with a `basic` schema.
   ### Affected Version
   Druid 0.21
   ### Description
   1. Run `./bin/start-micro-quickstart`
   2. Run this script to create an ingestion task:
   dt=`date -u +"%Y-%m-%dT%H:%M:%SZ"`
   curl -X POST http://localhost:8888/druid/indexer/v1/task -d '
       "type": "index_parallel",
       "id": "test-'$dt'",
       "spec": {
         "ioConfig": {
           "type": "index_parallel",
           "inputSource": {
             "type": "generator",
             "partitions": 10,
             "schemaName": "basic",
             "numRows": 200000000,
             "numSplits": 10
         "dataSchema": {
           "dataSource": "datagenerator",
           "granularitySpec": {
             "type": "uniform",
             "queryGranularity": "HOUR"
           "timestampSpec": {
             "column": "!!!_no_such_column_!!!",
             "missingValue": "2010-01-01T00:00:00Z"
   ' -H "content-type: application/json"
   See exception in middleManager.log:
   21-06-01T18:17:36,491 ERROR [qtp1888420238-67] com.sun.jersey.spi.container.ContainerResponse
- Mapped exception to response: 500 (Interna
   l Server Error)
   javax.ws.rs.WebApplicationException: com.sun.jersey.api.MessageException: A message body
writer for Java class com.google.common.collect.Sin
   gletonImmutableBiMap, and Java type class com.google.common.collect.SingletonImmutableBiMap,
and MIME media type application/octet-stream wa
   s not found.

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:

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

View raw message