question

Eric-4026 avatar image
2 Votes"
Eric-4026 asked VitaliyZhurba-6519 answered

Azuremlsdk for R hangs on update while solving environment


I haven't used azuremlsdk for R in a few weeks. When I tried to use it today it said it had to update, the update seems to get stuck on step 17.

This is the last message before it timeouts in 1h 30m.

Step 17/23 : RUN conda install -p /azureml-envs/azureml_da3e97fcb51801118b8e80207f3e01ad -c r -y r-essentials=3.6.0 rpy2 r-checkpoint && pip install --no-cache-dir azureml-defaults ---> Running in 30337f6502b4 Solving environment: ...working...

I have tried updating miniconda from the anaconda prompt and I've tried deleting my azureml resource and creating a new one. Any ideas what is going on?

azure-machine-learning
· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Eric-4026 Thanks for the question. Could you please add more details about the steps that you performed.

Please follow the document to Install the Azure ML SDK for R.


0 Votes 0 ·

I was not installing anything. I have used the azuremlsdk for R many times. On Saturday I went start a cluster and submit a run and it seemed to want to install some kind of update and it hangs on step 17. I'm trying to paste the output from my Rstudio console, but it exceeds the 1000 character limit . the last message it gives before timing out in 1h 30m is
Step 17/23 : RUN conda install -p /azureml-envs/azureml_da3e97fcb51801118b8e80207f3e01ad -c r -y r-essentials=3.6.0 rpy2 r-checkpoint && pip install --no-cache-dir azureml-defaults ---> Running in 30337f6502b4 Solving environment: ...working...

0 Votes 0 ·

@Eric-4026 Thanks for the details. Also please add details about the compute cluster configuration and region that you are trying. We have forwarded to the product team to check on this.

0 Votes 0 ·
Show more comments

Is there going to be a solution to this? It's been over a month and it still doesn't work. Hangs on step 17.

0 Votes 0 ·

I was able to get around this by following some of the instructions in this link.

https://azure.github.io/azureml-sdk-for-r/articles/building-custom-docker-images.html

Essentially modifying the docker file and then building the environment using the python azure ml sdk.

https://docs.microsoft.com/en-us/azure/machine-learning/how-to-train-with-custom-image

0 Votes 0 ·
Nikolaz avatar image
1 Vote"
Nikolaz answered Eric-4026 commented

Exactly the same problem for me.

I tried on 2 different compute clusters (Standard_D2_v2, Standard_DS12_v2) both in eastus.

I am trying to execute a tutorial directly from Azure ML Notebook (azureml-sdk-for-r/vignettes/train-and-deploy-first-model)


Here the last message I have in the build log

Downloading and Extracting Packages
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
[91m
[0mRemoving intermediate container e514a28cde98
---> 57dfbf426dfa
Step 17/23 : RUN conda install -p /azureml-envs/azureml_da3e97fcb51801118b8e80207f3e01ad -c r -y r-essentials=3.6.0 rpy2 r-checkpoint && pip install --no-cache-dir azureml-defaults
---> Running in 0ab44ea8e6a3
Solving environment: ...working...

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Good to know it's not just me at least. I can't get an answer from anyone at azure what is going on. This is so frustrating.

0 Votes 0 ·
Nikolaz avatar image
0 Votes"
Nikolaz answered

@ramr-msft any news on this?
I have tried many times but it still doesn't work.
Thank you

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JamieWallis-0781 avatar image
0 Votes"
JamieWallis-0781 answered Eric-4026 commented

@ramr-msft Is there any update for this, I'm also having exactly the same issue described.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Still doesn't work for me either.

0 Votes 0 ·
VitaliyZhurba-6519 avatar image
0 Votes"
VitaliyZhurba-6519 answered

@JamieWallis-0781 @Eric-4026 what is the base image you are using for your environments? conda 4.5 resolver is experiencing issues like that recently, so old base images could be the root cause of your issue

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.