crate-mesos-framework
crate-mesos-framework copied to clipboard
Running on Mesosphere DC/OS with persistent storage
I have a cluster running 1.9.0 and i was trying to get cratedb running but i need to use persistent storage. When running the container pointing to local storage inside the container path, i get an error:
Caused by: java.nio.file.AccessDeniedException: /data/nodes/0
Container Configuration:
"container": {
"type": "DOCKER",
"volumes": [
{
"containerPath": "/data/nodes",
"hostPath": "cratem1",
"mode": "RW"
},
{
"containerPath": "cratem1",
"persistent": {
"size": 10000
},
"mode": "RW"
}
Any ideas on how to get this to work? Should this be done a different way? Simply trying to use the local storage on each agent server which is available to every service by default ( at least thats what i understand that storage to be ).
hi @distributorofpain, as stated in the readme this project is unmaintained at the moment and we don't have the know-how in house to work on this. from a cratedb perspective all we know is that cratedb is not able to write to the provided path. there need to be a dedicated data path for crate on every agent host and it needs to writeable by the user that is running the crate container in mesosphere. if you find a solution please let us know, as this could also help other users.
Looks like this is not a CrateDB problem but a DC/OS configuration issue. The supplied path is not writable. Could you supply the full stack-trace for the AccessDeniedException
?
https://github.com/crate/docker-crate/issues/101