Error when running Tutorial: Loading a file, Load batch data

Hi everyone,

I’m new to Druid.

I tried Tutorial: Loading a file.

I ran command: bin/post-index-task --file quickstart/tutorial/wikipedia-index.json

But it said “python not found”, so I installed python3 and python.

After that I ran the command again: bin/post-index-task --file quickstart/tutorial/wikipedia-index.json

But it gives error:

Waiting up to 114s for indexing service [http://localhost:8090] to become available. [Got: <urlopen error [Errno 111] Connection refused>] many times

File “/home/druid_admin/apache-druid-0.13.0-incubating/bin/post-index-task-main”,
line 79, in post_task return post_task(args, task)json, timeout_at) many times

File “/home/druid_admin/apache-druid-0.13.0-incubating/bin/post-index-task-main”,
line 61 in post_task raise_friendly_error(e)

File “/home/druid_admin/apache-druid-0.13.0-incubating/bin/post-index-task-main”,
line 110 in raise_friendly_error raise eurllib2.URLError: <urlopen error [Errno 111] Connection refused>

Is there something I missed ?

Regards,
Iman

I solved it already.

Druid Services should start before loading data.

Use command:

bin/supervise -c quickstart/tutorial/conf/tutorial-cluster.conf

Regards,

Iman