doAzureParallel/samples/azure_files
Brian Hoang 975858072e
Fix: Test Coverage on Azure Pipeline CI (#348)
* Added build.sh

* Fixed tests

* Added pipeline yml

* Fixed pipeline

* Removed

* Passing in args to script

* Added container image

* Fixed args

* Fixed args

* Fixed args

* Removed last script

* Added test management

* Added job dependency

* Moved package installation to build.sh

* fixed

* Added job dependency

* Added RProfile site

* Fixed REnvironment

* Added Rprofile

* Added ~/

* Fixing tests

* fixed method name

* Renaming samples & tests

* renamed more tests

* Fixed lint

* Removed other tests

* Fixed directory call for testthat

* Added typo and remove sample

* Fixed pipeline pointer
2019-02-13 21:36:40 -08:00
..
azure_files_cluster.json Fix: File share sample (#312) 2018-09-18 14:44:00 -07:00
azure_files_example.r Fix: Test Coverage on Azure Pipeline CI (#348) 2019-02-13 21:36:40 -08:00
readme.md Feature/custom package (#272) 2018-05-14 13:47:00 -07:00

readme.md

Using Azure Files

Azure files is an easy and convenient way to share files and folders across all of the nodes in your doAzureParallel cluster.

This samples shows how to update the cluster configuration to create a new mount drive on each node and mount an Azure File share. More information on creating and managing Azure Files can be found here. We also recommend Azure Storage Explorer as a great desktop application to manage the data on your Azure File shares from your local machine.

IMPORTANT The cluster configuration files requires code to setup the file share. The exact command string to mount the drive can be found here but remember to remove the 'sudo' part of the command. All custom commands in a cluster are automatically run with elevated permissions and adding sudo will cause an error at node setup time.

IMPORTANT Since all of your processes are run within a container in the node, the number of directories mounted on the container are limited. Currently, only /mnt/batch/tasks is mounted into the container, so when you mount a drive it must be under that path. For example /mnt/batch/tasks/my/file/share. Note that any new directories under /mnt/batch/tasks must first be created before mounting. Please see the provided azure_files_cluster.json as an example.

IMPORTANT Mounting Azure Files on non-azure machines has limited support. This service should be used for creating a shared files system in your doAzureParallel cluster. For managing files from your local machine we recommend Azure Storage Explorer

For large data sets or large traffic applications be sure to review the Azure Files scalability and performance targets.

For very large data sets we recommend using Azure Blobs. You can learn more in the persistent storage and distributing data docs.