Ycallaer opened a new issue #10908:
URL: https://github.com/apache/druid/issues/10908


   ### Affected Version
   
   Druid version 0.21.0
   Build on Ubuntu 20.04LTS
   
   ### Description
   
   After building the image as described 
[here](https://github.com/apache/druid/tree/0.20.1/distribution/docker), I 
start the docker with the following command from root:
   `docker-compose -f distribution/docker/docker-compose.yml up`
   
   After a lot of initial messages both historical and router start complaining 
that they don't have permissions to create certain directories
   
   ```
   router           | mkdir: can't create directory 'var/tmp': Permission denied
   router           | mkdir: can't create directory 'var/druid/': Permission 
denied
   router           | mkdir: can't create directory 'var/druid/': Permission 
denied
   router           | mkdir: can't create directory 'var/druid/': Permission 
denied
   router           | mkdir: can't create directory 'var/druid/': Permission 
denied
   router           | mkdir: can't create directory 'var/druid/': Permission 
denied
   middlemanager    | Setting 
druid.indexer.logs.directory=/opt/data/indexing-logs in 
/tmp/conf/druid/cluster/data/middleManager/runtime.properties
   broker           | mkdir: can't create directory 'var/tmp': Permission denied
   broker           | mkdir: can't create directory 'var/druid/': Permission 
denied
   broker           | mkdir: can't create directory 'var/druid/': Permission 
denied
   broker           | mkdir: can't create directory 'var/druid/': Permission 
denied
   broker           | mkdir: can't create directory 'var/druid/': Permission 
denied
   broker           | mkdir: can't create directory 'var/druid/': Permission 
denied
   
   ```
   In the end, the following services abort with an exit code 1
   ```
   historical exited with code 1
   router exited with code 1
   broker exited with code 1
   middlemanager exited with code 1
   ```
   
   I am new to druid and I am just following the quickguide.
   
   Any ideas what might be the root cause ?


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to