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 2021/06/02 12:33:32 UTC
[GitHub] [druid] egor-ryashin opened a new issue #11324: GeneratorInputSource defaults lead to exception
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:
```bash
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org
[GitHub] [druid] egor-ryashin closed issue #11324: GeneratorInputSource defaults lead to exception
Posted by GitBox <gi...@apache.org>.
egor-ryashin closed issue #11324:
URL: https://github.com/apache/druid/issues/11324
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org