apache / druid

Apache Druid: a high performance real-time analytics database.
https://druid.apache.org/
Apache License 2.0
13.46k stars 3.7k forks source link

error-Initialising cached lookups on coordinator for first time-distributed cluster #5892

Closed chirpy2291 closed 6 years ago

chirpy2291 commented 6 years ago

I am trying to setup lookups on a cluster wide druid .My load list :

druid.extensions.loadList=["druid-lookups-cached-global"]

I followed : "If you have NEVER configured lookups before, you MUST post an empty json object {} to /druid/coordinator/v1/lookups/config to initialise the configuration."

my command: curl -X 'POST' -d @blank.json http://localhost:8081/druid/coordinator/v1/lookups/config/

{localhost is my coordinator node in distributed environment.My blank.json contains : {}}

I get the following on posting an empty json:

{"error":"Unknown error updating configuration"}

And the next time I post map to the default tier following exception appears: {"error":"Not initialized. If this is the first lookup, post an empty map to initialize"}

Please help !

Am i missing anything?

chirpy2291 commented 6 years ago

Solved