Using spark and mesos container with host_path volume
I'm trying to mount a local ceph volume to my mesos container.
My cephfs is mounted on all agent at /ceph
I'm using spark 2.4 with hadoop 3.11 and I'm not using Docker to deploy spark.
The only option I could find to mount a volume though is the following (which is also a line I added to spark-defaults.conf in both my client and in the .tgz deployed on mesos):
However it seems that the volume is never mounted on mesos containers and using spark-shell on my mesos cluster I'm unable to access any thing in /mnt.
I have activated the volume/host_path on all mesos agent and I don't really know what could I do now.
Is there a way to do what I want with mesos containizer or do I have to use docker (a without docker solution would be so lovely).