FrankChen021 commented on pull request #11299:
URL: https://github.com/apache/druid/pull/11299#issuecomment-849466170


   @clintropolis A named volume in docker-compose also shares contents among 
overlords, middle managers and historicals. At first I thought the reason why 
the host directory 'storge' is used has something to do with the disk size at 
first. Because by default, docker creates directory for a named volume under 
`/var` which usually has smaller disk size for druid data storage.  
   
   Since there's no special reasons to use a directory on the host OS to mount 
as a volume in docker, I think it's acceptable for us to use a named volume in 
the example docker-compose.yml for data storage, so that there won't be 
permission problems on Linux platforms. Another reason is that the 
docker-compose.yml is only an example, it's not recommended in production, the 
disk size problem of a named volume should not be a concern for us if we state 
it in the doc.
   
   What do you think ? @clintropolis @jihoonson @xvrl 
   If you agree, I will push a new commit.


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