You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/02/11 08:26:56 UTC

[GitHub] [druid] hara5 opened a new issue #9349: CSV Lookup Load pending

hara5 opened a new issue #9349: CSV Lookup Load pending
URL: https://github.com/apache/druid/issues/9349
 
 
   I am using Druid quick-start. I have loaded CSV lookup file on the server. But it is unable to load the lookup file
   
   
   **Step 1:**
   > curl -H "Content-Type: application/json" \
   >   --data @lookup.json \
   >   http://<IP>:8081/druid/coordinator/v1/lookups/config
   
   ` {
     "__default": {
       "test": {
         "version": "v1",
         "lookupExtractorFactory": {
           "type": "cachedNamespace",
           "extractionNamespace": {
             "type": "uri",
             "uri": "file:/home/analytics/apache-druid-0.16.1-incubating/test.csv",
             "namespaceParseSpec": {
               "format": "csv",
               "columns": [
                 "key",
                 "value"
               ]
             },
             "pollPeriod": "PT30S"
           },
           "firstCacheTimeout": 0
         }
       }
     }
   }`
   
   
   **Step 2:**
    http://IP:8081/druid/coordinator/v1/lookups/status
   `{"__default":{"test":{"loaded":false}}}`
   
   **Step 3:**
    http://IP:8081/druid/coordinator/v1/lookups/config/all
   `{"__default":{"test":{"loaded":false,"pendingNodes":["localhost:8101","localhost:8082","localhost:8083"]}}}`
   
   Do I need to restart any component after adding a lookup? 
   P.S. I tried adding lookup config from Front End as well and results are same

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org