Reply
Ibi
New Contributor
Posts: 4
Registered: ‎07-26-2018
Accepted Solution

Cannot launch workers in R script

 

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

 

Cloudera Employee
Posts: 36
Registered: ‎07-09-2015

Re: Cannot launch workers in R script

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

Highlighted
Ibi
New Contributor
Posts: 4
Registered: ‎07-26-2018

Re: Cannot launch workers in R script

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

 

Thank you

Announcements