I am pretty new to MapR and I have a task about creating a MapR volume. I used this command
maprcli volume create -name test-volume -path /MyCluster/apps/application_logs/node1
to create the volume but I get this error:
ERROR (2) - Failed to mount test-volume, parent of mount dir /MyCluster/apps/application_logs/node1 does not exist, No such file or directory
Before running the command I created this path '/MyCluster/apps/application_logs/node1' using mkdir :
Does anyone know why I get this error and if someone can help me with fixing it?
Thank you.
When you say;
I assume that you have created it in local file system. The
pathparameter needs to be created inMapRfile system.To do that, you can either create the dir by interacting with
MapRfile system directly as follows;or you can mount
MapRfs to local file system so that you can interact with it from mount point;/mapr/<cluster-name>/From the doc;