Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Cannot launch workers in R script

SOLVED Go to solution
Highlighted

Cannot launch workers in R script

New Contributor

 

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

Accepted Solutions

Re: Cannot launch workers in R script

Rising Star

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

2 REPLIES 2

Re: Cannot launch workers in R script

Rising Star

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

Re: Cannot launch workers in R script

New Contributor

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

 

Thank you