Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Nodes fail to start when loading package from CRAN #360

@benscarlson

Description

@benscarlson

Hello,

I am able to run the sample "getting started" code but when I attempt to load a package from CRAN, my nodes fail to start. Can anyone show me what I might be doing wrong?

Here is my cluster file. This is the same file from "getting started" but I've included the "hypervolume" package.

{
  "name": "hv",
  "vmSize": "Standard_D2_v2",
  "maxTasksPerNode": 2,
  "poolSize": {
    "dedicatedNodes": {
      "min": 0,
      "max": 0
    },
    "lowPriorityNodes": {
      "min": 5,
      "max": 10
    },
    "autoscaleFormula": "QUEUE"
  },
  "containerImage": "rocker/tidyverse:latest",
  "rPackages": {
    "cran": ["hypervolume"],
    "github": [],
    "bioconductor": []
  },
  "commandLine": [],
  "subnetId": ""
}

I run the following:

library(doAzureParallel)
setCredentials('credentials.json')
cluster <- makeCluster("cluster.json")

But all my nodes fail to boot. Here is an example:

1: In .showNodesFailure(nodesWithFailures) :
  The following 1 nodes failed while running the start task:
tvm-2487789449_4-20190722t172941z-p

This package has some other dependencies, including rgeos which can be finicky to install. I've tried specifying just rgeos by itself but that also fails. Is there a better way to install packages?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions