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 2019/11/14 09:30:21 UTC

[GitHub] [incubator-druid] qiu-zhiwei opened a new issue #8865: Unable to load data from local file:Parameter 'directory' is not a directory

qiu-zhiwei opened a new issue #8865: Unable to load data from local file:Parameter 'directory' is not a directory
URL: https://github.com/apache/incubator-druid/issues/8865
 
 
   When I use local index to load data
   I use "curl - x 'post' - H 'content type: application/JSON' - D @/var/local/xxx.json http://x.x.x.x: 8081/Druid/indexer/v1/task" as the request according to the official document.
   I found that the data could not be loaded into the Druid cluster, and the error was:
   “Parameter 'directory' is not a directory: /var/local/data”
   
   My Druid is deployed on two servers. When I execute the curl command in druid01, Druid will randomly select one of the two servers, and then go to this server to find the "basedir" configured in the JSON file.
   So curl requests are executed, sometimes succeed, sometimes fail.
   
   Have you ever met this problem and how to solve it.
   Thank you very much.

----------------------------------------------------------------
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