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

Commit 07ac9b7

Browse files
authored
Bug: azure file share not being shared with container (#521)
* share all of /mnt * fix todo message
1 parent db7a2ef commit 07ac9b7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

aztk/node_scripts/install/install.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def setup_host(docker_repo: str):
4141

4242
cluster_conf = read_cluster_config()
4343

44+
#TODO pass azure file shares
4445
spark_container.start_spark_container(
4546
docker_repo=docker_repo,
4647
gpu_enabled=os.environ.get("AZTK_GPU_ENABLED") == "true",

aztk/node_scripts/install/spark_container.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def start_spark_container(
1818
if file_mounts:
1919
for mount in file_mounts:
2020
cmd.share_folder(mount.mount_path)
21-
cmd.share_folder('/mnt/batch/tasks')
21+
cmd.share_folder('/mnt')
2222

2323
cmd.pass_env('AZTK_WORKING_DIR')
2424
cmd.pass_env('AZ_BATCH_ACCOUNT_NAME')

0 commit comments

Comments
 (0)