Error while inserting sample wikipedia edits in druid

Below is the error which I am receiving while inserting the data, can anyone please help

XYZ-MacBook-Air:~ xyz$ curl -X ‘POST’ -H ‘Content-Type:application/json’ -d @quickstart/wikiticker-index.json localhost:8090/druid/indexer/v1/task

Warning: Couldn’t read data from file “quickstart/wikiticker-index.json”, this

Warning: makes an empty POST.

Error 500

HTTP ERROR: 500

Problem accessing /druid/indexer/v1/task. Reason:

    java.lang.NullPointerException

Powered by Jetty:// 9.3.19.v20170502

Amits-MacBook-Air:~ amitkumar$

Hi Amit,

You’d need to run this from the Druid install directory.

hi, maybe you need to confirm the localhost:8090 is right?or if you json data is existed?

在 2018年8月4日星期六 UTC+8下午10:19:13,Amit Kumar写道: