Forecast Plugin - Error in R process: simple Error : parse error: premature EOF
Caio0109
Registered Posts: 1 ✭
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
Best Answer
-
Sarina Dataiker, Dataiku DSS Core Designer, Dataiku DSS Adv Designer, Registered Posts: 317 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