Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Bug: azure file share not being shared with container (#521)
Browse files Browse the repository at this point in the history
* share all of /mnt

* fix todo message
  • Loading branch information
jafreck committed Apr 27, 2018
1 parent db7a2ef commit 07ac9b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions aztk/node_scripts/install/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def setup_host(docker_repo: str):

cluster_conf = read_cluster_config()

#TODO pass azure file shares
spark_container.start_spark_container(
docker_repo=docker_repo,
gpu_enabled=os.environ.get("AZTK_GPU_ENABLED") == "true",
Expand Down
2 changes: 1 addition & 1 deletion aztk/node_scripts/install/spark_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def start_spark_container(
if file_mounts:
for mount in file_mounts:
cmd.share_folder(mount.mount_path)
cmd.share_folder('/mnt/batch/tasks')
cmd.share_folder('/mnt')

cmd.pass_env('AZTK_WORKING_DIR')
cmd.pass_env('AZ_BATCH_ACCOUNT_NAME')
Expand Down

0 comments on commit 07ac9b7

Please sign in to comment.