0 votes

When i try to generate R code thanks to Recipes, i alaways get the following error: 

Job failed : Error in R process: simpleError : transfer closed with outstanding read data remaining

Please find the logs below: 

[16:54:50] [INFO] [dku.utils]  - > commandes_05_09_2017 <- dkuReadDataset("Commandes_05_09_2017")
[16:54:50] [INFO] [dku.utils]  - [1] "********** R code failed **********"
[16:54:50] [INFO] [dku.utils]  - [1] "Error evaluating R code:  Error in curl::curl_fetch_memory(url, handle = handle): transfer closed with outstanding read data remaining\n"
[16:54:50] [INFO] [com.dataiku.dip.dataflow.exec.r.RRecipeRunner] - Error file found, trying to throw it: /home/dataiku/dss/jobs/FLOW/Build_commandes_2017-10-25T16-54-47.936/compute_commandes_NP/out-R-zmcY2oeF52BM/error.json
[16:54:50] [INFO] [dku.flow.activity] - Run thread failed for activity compute_commandes_NP
com.dataiku.common.server.APIError$SerializedErrorException: Error in R process: simpleError :  transfer closed with outstanding read data remaining
	at com.dataiku.dip.dataflow.exec.AbstractCodeBasedActivityRunner.execute(AbstractCodeBasedActivityRunner.java:304)
	at com.dataiku.dip.dataflow.exec.AbstractCodeBasedActivityRunner.execute(AbstractCodeBasedActivityRunner.java:231)
	at com.dataiku.dip.recipes.code.r.AbstractRRecipeRunner.executeScript(AbstractRRecipeRunner.java:31)
	at com.dataiku.dip.dataflow.exec.r.RRecipeRunner.run(RRecipeRunner.java:36)
	at com.dataiku.dip.dataflow.jobrunner.ActivityRunner$FlowRunnableThread.run(ActivityRunner.java:353)
[16:54:51] [INFO] [dku.flow.activity] running compute_commandes_NP - activity is finished
[16:54:51] [ERROR] [dku.flow.activity] running compute_commandes_NP - Activity failed
com.dataiku.common.server.APIError$SerializedErrorException: Error in R process: simpleError :  transfer closed with outstanding read data remaining
	at com.dataiku.dip.dataflow.exec.AbstractCodeBasedActivityRunner.execute(AbstractCodeBasedActivityRunner.java:304)
	at com.dataiku.dip.dataflow.exec.AbstractCodeBasedActivityRunner.execute(AbstractCodeBasedActivityRunner.java:231)
	at com.dataiku.dip.recipes.code.r.AbstractRRecipeRunner.executeScript(AbstractRRecipeRunner.java:31)
	at com.dataiku.dip.dataflow.exec.r.RRecipeRunner.run(RRecipeRunner.java:36)
	at com.dataiku.dip.dataflow.jobrunner.ActivityRunner$FlowRunnableThread.run(ActivityRunner.java:353)
[16:54:51] [INFO] [dku.flow.activity] running compute_commandes_NP - Executing default post-activity lifecycle hook
[16:54:51] [INFO] [dku.flow.activity] running compute_commandes_NP - Removing samples for FLOW.commandes
[16:54:51] [INFO] [dku.flow.activity] running compute_commandes_NP - Removing samples for FLOW.validations
[16:54:51] [INFO] [dku.flow.activity] running compute_commandes_NP - Removing samples for FLOW.geolocalisation
[16:54:51] [INFO] [dku.flow.activity] running compute_commandes_NP - Done post-activity tasks

 

Do you have some ideas to fix it?

 

Thanks!

asked by

1 Answer

0 votes

Hi,

The dataiku library cannot communicate with the backend. How did you install R? With the installation script?

Can you please provide a job diagnostic so that we can investigate?

Jeremy

answered by
Yes, i installed R with the installation script on a virtual machine VirtualBox.
I v got all the job diagnosis.
How do you want me to transfer it?
On the conversation module of the website (Intercom). Thanks.
840 questions
866 answers
811 comments
992 users