Druid basic loading batch data error

I am trying to load the batch data as is given on http://druid.io/docs/0.8.2/tutorials/tutorial-loading-batch-data.html. I am trying to run the simple wikipedia index task not the hadoop index task. So i ran the coordinator, hostorical nodes and the indexing service (I did not give <hadoop_config_path> in the classpath of indexing service as I just want to run the simple index task). I did not run any middleManager or Peon. However when I run the index task, it only shows running.
In the logs I am getting the following error:
2015-12-11T09:52:56,356 INFO [main] io.druid.indexing.common.actions.RemoteTaskActionClient - Performing action for task[index_wikipedia_2015-12-11T09:52:51.814Z]: LockTryAcquireAction{interval=2013-08-31T00:00:00.000Z/2013-09-01T00:00:00.000Z}

2015-12-11T09:52:56,369 ERROR [main] io.druid.curator.discovery.ServerDiscoverySelector - No server instance found

2015-12-11T09:52:56,369 WARN [main] io.druid.indexing.common.actions.RemoteTaskActionClient - Exception submitting action for task[index_wikipedia_2015-12-11T09:52:51.814Z]

java.io.IOException: Failed to locate service uri

at io.druid.indexing.common.actions.RemoteTaskActionClient.submit(RemoteTaskActionClient.java:91) [druid-indexing-service-0.8.2.jar:0.8.2]

at io.druid.indexing.common.task.AbstractFixedIntervalTask.isReady(AbstractFixedIntervalTask.java:89) [druid-indexing-service-0.8.2.jar:0.8.2]

at io.druid.indexing.worker.executor.ExecutorLifecycle.start(ExecutorLifecycle.java:120) [druid-indexing-service-0.8.2.jar:0.8.2]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_66]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_66]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_66]

at com.metamx.common.lifecycle.Lifecycle$AnnotationBasedHandler.start(Lifecycle.java:325) [java-util-0.27.4.jar:?]

at com.metamx.common.lifecycle.Lifecycle.addMaybeStartHandler(Lifecycle.java:230) [java-util-0.27.4.jar:?]

at com.metamx.common.lifecycle.Lifecycle.addMaybeStartManagedInstance(Lifecycle.java:176) [java-util-0.27.4.jar:?]

at io.druid.guice.LifecycleScope$1.get(LifecycleScope.java:76) [druid-api-0.3.13.jar:0.8.2]

at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [guice-4.0-beta.jar:?]

at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005) [guice-4.0-beta.jar:?]

at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1051) [guice-4.0-beta.jar:?]

at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001) [guice-4.0-beta.jar:?]

at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1040) [guice-4.0-beta.jar:?]

at io.druid.cli.CliPeon.run(CliPeon.java:225) [druid-services-0.8.2.jar:0.8.2]

at io.druid.cli.Main.main(Main.java:91) [druid-services-0.8.2.jar:0.8.2]

Caused by: com.metamx.common.ISE: Cannot find instance of indexer to talk to!

at io.druid.indexing.common.actions.RemoteTaskActionClient.getServiceInstance(RemoteTaskActionClient.java:165) ~[druid-indexing-service-0.8.2.jar:0.8.2]

at io.druid.indexing.common.actions.RemoteTaskActionClient.submit(RemoteTaskActionClient.java:86) ~[druid-indexing-service-0.8.2.jar:0.8.2]

… 17 more

2015-12-11T09:52:56,384 INFO [main] io.druid.indexing.common.actions.RemoteTaskActionClient - Will try again in [PT54.986S].

2015-12-11T09:53:51,371 ERROR [main] io.druid.curator.discovery.ServerDiscoverySelector - No server instance found

2015-12-11T09:53:51,372 WARN [main] io.druid.indexing.common.actions.RemoteTaskActionClient - Exception submitting action for task[index_wikipedia_2015-12-11T09:52:51.814Z]

java.io.IOException: Failed to locate service uri

at io.druid.indexing.common.actions.RemoteTaskActionClient.submit(RemoteTaskActionClient.java:91) [druid-indexing-service-0.8.2.jar:0.8.2]

at io.druid.indexing.common.task.AbstractFixedIntervalTask.isReady(AbstractFixedIntervalTask.java:89) [druid-indexing-service-0.8.2.jar:0.8.2]

at io.druid.indexing.worker.executor.ExecutorLifecycle.start(ExecutorLifecycle.java:120) [druid-indexing-service-0.8.2.jar:0.8.2]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_66]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_66]

at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_66]

at com.metamx.common.lifecycle.Lifecycle$AnnotationBasedHandler.start(Lifecycle.java:325) [java-util-0.27.4.jar:?]

at com.metamx.common.lifecycle.Lifecycle.addMaybeStartHandler(Lifecycle.java:230) [java-util-0.27.4.jar:?]

at com.metamx.common.lifecycle.Lifecycle.addMaybeStartManagedInstance(Lifecycle.java:176) [java-util-0.27.4.jar:?]

at io.druid.guice.LifecycleScope$1.get(LifecycleScope.java:76) [druid-api-0.3.13.jar:0.8.2]

at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [guice-4.0-beta.jar:?]

at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:1005) [guice-4.0-beta.jar:?]

at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1051) [guice-4.0-beta.jar:?]

at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:1001) [guice-4.0-beta.jar:?]

at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1040) [guice-4.0-beta.jar:?]

at io.druid.cli.CliPeon.run(CliPeon.java:225) [druid-services-0.8.2.jar:0.8.2]

at io.druid.cli.Main.main(Main.java:91) [druid-services-0.8.2.jar:0.8.2]

Caused by: com.metamx.common.ISE: Cannot find instance of indexer to talk to!

at io.druid.indexing.common.actions.RemoteTaskActionClient.getServiceInstance(RemoteTaskActionClient.java:165) ~[druid-indexing-service-0.8.2.jar:0.8.2]

at io.druid.indexing.common.actions.RemoteTaskActionClient.submit(RemoteTaskActionClient.java:86) ~[druid-indexing-service-0.8.2.jar:0.8.2]

… 17 more

2015-12-11T09:53:51,375 INFO [main] io.druid.indexing.common.actions.RemoteTaskActionClient - Will try again in [PT118.901S].

2015-12-11T09:55:50,276 ERROR [main] io.druid.curator.discovery.ServerDiscoverySelector - No server instance found

Kindly help!

Hey Rishi,

The most likely reason is that the value for ‘druid.selectors.indexing.serviceName’ in _common/common.runtime.properties does not match the value for ‘druid.service’ in overlord/runtime.properties. This is described near the bottom of the page here: http://druid.io/docs/0.8.2/configuration/index.html

Thank you David. I found out what the problem was.

Hi Ravi,

I am also facing the same issue. Can you please tell me how did you solve it ?

I have the same value for he value for ‘druid.selectors.indexing.serviceName’ in _common/common.runtime.properties and ‘druid.service’ in overlord/runtime.properties.

Thanks

Hey Ritesh,

I replied to you in your other thread: https://groups.google.com/forum/#!topic/druid-user/PSrZFu6VD9k