Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

Running on Mesosphere DC/OS with persistent storage #128

Open
distributorofpain opened this issue Jan 17, 2018 · 3 comments
Open

Running on Mesosphere DC/OS with persistent storage #128

distributorofpain opened this issue Jan 17, 2018 · 3 comments
Assignees

Comments

@distributorofpain
Copy link

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

@joemoe
Copy link

joemoe commented Jan 19, 2018

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.

@mxm mxm self-assigned this Jan 30, 2018
@mxm
Copy link

mxm commented Jan 30, 2018

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?

@chaudum
Copy link
Contributor

chaudum commented Jan 30, 2018

crate/docker-crate#101

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants