Open thiagomanel opened 8 years ago
This should also include the following contract of tag versioning
fmask_major_version.sebal_major_version.minor_version
Also, we need to put in contract that, when using Azure Workers, user must redirect its temporary files generated by execution to /mnt
This is necessary because Azure VMs do not have large disks, and bigger flavors use volumes mounted in working machine.
For our worker implementation, create a file named ".Renviron" in desired temporary folder and add the following line in R algorithm:
write("TMP = '<your-desired-tempdir>'", file=file.path(Sys.getenv('R_USER'), '.Renviron'))
@EsdrasVP, maybe, we should have an $TMP to be specified in the contract and to be defined in each work implementation. Then, for the current worker $TMP equals /tmp and for azure, it equals /mnt (or something under /mnt).
On Oct 28, 2016, at 11:32 , Thiago Emmanuel Pereira notifications@github.com wrote:
@EsdrasVP, maybe, we should have an $TMP to be specified in the contract and to be defined in each work implementation. Then, for the current worker $TMP equals /tmp and for azure, it equals /mnt (or something under /mnt).
This is the way to go. Perhaps we could look if $TMP is defined, and use it if so. Otherwise, the default would be to use /tmp. Notice that we probably can mount the Azure volume in the /tmp (instead of /mnt) and this would also solve the problem, but the proposed solution is more generic. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Francisco Vilar Brasileiro VoIP: +55 83 1075 2038 Departamento de Sistemas e Computação Fone: +55 83 2101 1644 Universidade Federal de Campina Grande Fax: +55 83 2101 1498 58.429-900, Campina Grande, PB, Brasil E-mail: fubica@dsc.ufcg.edu.br
we need to defined the extension points for new version of the worker code (think about it as the fogbow plugins)