diff --git a/spark-qfs-swarm/qfs-master/Dockerfile b/spark-qfs-swarm/qfs-master/Dockerfile index 6ed6d44..0136d49 100644 --- a/spark-qfs-swarm/qfs-master/Dockerfile +++ b/spark-qfs-swarm/qfs-master/Dockerfile @@ -22,7 +22,7 @@ COPY start-qfs-master.sh / USER spark # create some useful bash aliases for when at bash shell prompt of this image RUN echo 'export PATH=$PATH:$QFS_HOME/bin/:$QFS_HOME/bin/tools/' >> ~/.bash_aliases \ - && echo 'alias qfs="qfs -fs qfs://qfs-master:20000"' >> ~/.bash_aliases \ + && echo 'alias qfs="qfs -fs qfs://qfs-master:20000 -D fs.trash.minPathDepth=2 -D fs.createParams=2"' >> ~/.bash_aliases \ && echo 'alias cptoqfs="cptoqfs -s qfs-master -p 20000"' >> ~/.bash_aliases \ && echo 'alias cpfromqfs="cpfromqfs -s qfs-master -p 20000"' >> ~/.bash_aliases \ && echo 'alias qfsshell="qfsshell -s qfs-master -p 20000"' >> ~/.bash_aliases \ diff --git a/spark-qfs-swarm/worker-node/spark-conf/core-site.xml b/spark-qfs-swarm/worker-node/spark-conf/core-site.xml index 3b6d0b2..b1c7d2c 100644 --- a/spark-qfs-swarm/worker-node/spark-conf/core-site.xml +++ b/spark-qfs-swarm/worker-node/spark-conf/core-site.xml @@ -20,4 +20,13 @@ fs.qfs.metaServerPort 20000 + + + fs.qfs.createParams + 2 +