Support Questions

Find answers, ask questions, and share your expertise

Cannot launch workers in R script

avatar
Explorer

 

I'm trying to spawn workers as part of my R script, however, I keep getting the following error. Any ideas on the root cause of this issue would be greatly appreciated.

 

library("cdsw")
workers <- launch.workers(n=2, cpu=0.2, memory=0.5, env="", code="print('Hello from a CDSW Worker')")
Error in curl::curl_fetch_memory(url, handle = handle) : 
  Timeout was reached: Connection timed out after 10001 milliseconds

 

1 ACCEPTED SOLUTION

avatar
Super Collaborator

Hi Ibi,

 

Are you hitting this on the 1.4.0 version? We are tracking a bug related to this (DSE-4293) and documented a workaround: 

https://www.cloudera.com/documentation/data-science-workbench/latest/topics/cdsw_known_issues.html#s...

 

Regards,

Peter

View solution in original post

2 REPLIES 2

avatar
Super Collaborator

Hi Ibi,

 

Are you hitting this on the 1.4.0 version? We are tracking a bug related to this (DSE-4293) and documented a workaround: 

https://www.cloudera.com/documentation/data-science-workbench/latest/topics/cdsw_known_issues.html#s...

 

Regards,

Peter

avatar
Explorer

Correct, I'm using CDSW 1.4. The workaround has resolved the issue.

 

Thank you