I got this error:
java.lang.RuntimeException: file:/opt/apache-druid-0.20.1/var/ebs/middlemanager/task/index_kafka_mydata_55dbb2406a8d4eb_fmefgkmf/work/indexing-tmp/druid-input-entity1367321146152770123.tmp is not a Parquet file. expected magic number at tail [80, 65, 82, 49] but found [-67, -17, -65, -67]
What I did:
1. Pushed one parquet file into kafka:
export KAFKA_OPTS="-Dfile.encoding=UTF-8"
kafka-console-producer.sh --broker-list kafka-0.kafka.default.svc.cluster.local:9092 --topic mydata < ./part-00000-ab6c8913-d5aa-41db-8ae6-b4acf0ad0926-c000.gz.parquet
2. Made sure my supervisor is running and reading the correct data.
3. And then I got the task error above. Is there something wrong with the way I push the parquet file into Kafka?