Survey banner
The Dataiku Community is moving to a new home! We are temporary in read only mode: LEARN MORE

Forecast Plugin - Error in R process: simple Error : parse error: premature EOF

Solved!
Caio0109
Level 1
Forecast Plugin - Error in R process: simple Error : parse error: premature EOF

I try to run my plugin but I still receiving this message: 

Job failed: Error in R process: simpleError : parse error: premature EOF (right here) ------^

The log: 

com.dataiku.common.server.APIError$SerializedErrorException: Error in R process: simpleError :  parse error: premature EOF
                                       
                     (right here) ------^

	at com.dataiku.dip.dataflow.exec.JobExecutionResultHandler.throwFromErrorFileIfPossible(JobExecutionResultHandler.java:106)
	at com.dataiku.dip.dataflow.exec.JobExecutionResultHandler.throwFromErrorFileOrLogs(JobExecutionResultHandler.java:39)
	at com.dataiku.dip.dataflow.exec.JobExecutionResultHandler.throwFromErrorFileOrLogs(JobExecutionResultHandler.java:34)
	at com.dataiku.dip.dataflow.exec.JobExecutionResultHandler.handleExecutionResult(JobExecutionResultHandler.java:26)
	at com.dataiku.dip.dataflow.exec.AbstractCodeBasedActivityRunner.execute(AbstractCodeBasedActivityRunner.java:77)
	at com.dataiku.dip.recipes.code.r.AbstractRRecipeRunner.executeScript(AbstractRRecipeRunner.java:39)
	at com.dataiku.dip.recipes.customcode.CustomRRecipeRunner.run(CustomRRecipeRunner.java:73)
	at com.dataiku.dip.dataflow.jobrunner.ActivityRunner$FlowRunnableThread.run(ActivityRunner.java:378)
[2024/04/30-17:59:29.288] [ActivityExecutor-54] [INFO] [dku.flow.activity] running compute_Test_clean_only_dates_NP - activity is finished
[2024/04/30-17:59:29.289] [ActivityExecutor-54] [ERROR] [dku.flow.activity] running compute_Test_clean_only_dates_NP - Activity failed
com.dataiku.common.server.APIError$SerializedErrorException: Error in R process: simpleError :  parse error: premature EOF
                                       
                     (right here) ------^

	at com.dataiku.dip.dataflow.exec.JobExecutionResultHandler.throwFromErrorFileIfPossible(JobExecutionResultHandler.java:106)
	at com.dataiku.dip.dataflow.exec.JobExecutionResultHandler.throwFromErrorFileOrLogs(JobExecutionResultHandler.java:39)
	at com.dataiku.dip.dataflow.exec.JobExecutionResultHandler.throwFromErrorFileOrLogs(JobExecutionResultHandler.java:34)
	at com.dataiku.dip.dataflow.exec.JobExecutionResultHandler.handleExecutionResult(JobExecutionResultHandler.java:26)
	at com.dataiku.dip.dataflow.exec.AbstractCodeBasedActivityRunner.execute(AbstractCodeBasedActivityRunner.java:77)
	at com.dataiku.dip.recipes.code.r.AbstractRRecipeRunner.executeScript(AbstractRRecipeRunner.java:39)
	at com.dataiku.dip.recipes.customcode.CustomRRecipeRunner.run(CustomRRecipeRunner.java:73)
	at com.dataiku.dip.dataflow.jobrunner.ActivityRunner$FlowRunnableThread.run(ActivityRunner.java:378)
[2024/04/30-17:59:29.290] [ActivityExecutor-54] [INFO] [dku.flow.activity] running compute_Test_clean_only_dates_NP - Executing default post-activity lifecycle hook
[2024/04/30-17:59:29.296] [ActivityExecutor-54] [INFO] [dku.flow.activity] running compute_Test_clean_only_dates_NP - Done post-activity tasks
0 Kudos
1 Solution
SarinaS
Dataiker

Hi @Caio0109,

It seems like you may be using the legacy forecast plugin, is that correct? Please note that indeed this plugin is deprecated, and you'll want to move on to the built-in timeseries forecasting features, which will be more robust, instead: https://doc.dataiku.com/dss/latest/machine-learning/time-series-forecasting/index.html

Let us know if you have trouble using the native feature(s)! 

Thank you,
Sarina

View solution in original post

1 Reply
SarinaS
Dataiker

Hi @Caio0109,

It seems like you may be using the legacy forecast plugin, is that correct? Please note that indeed this plugin is deprecated, and you'll want to move on to the built-in timeseries forecasting features, which will be more robust, instead: https://doc.dataiku.com/dss/latest/machine-learning/time-series-forecasting/index.html

Let us know if you have trouble using the native feature(s)! 

Thank you,
Sarina