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

Bug: azure file share not being shared with container #521

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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