我们正在使用DeployR(开放版)通过其REST API以编程方式执行R Scripts。它运行良好,但有时我们收到错误消息"作业失败,执行错误:无法打开连接"没有更多有用的信息。 我认为与DeployR打开MongoDB的内部连接有关,但只是一个嫌疑人(没有找到证据)
We are using DeployR (Open edition) to execute R Scripts programmatically through its REST API. It works nicely, but sometimes we got an error with the message "Job failure, execution error: cannot open the connection" with no more useful info. I think is something related with the internal connection that DeployR opens to MongoDB, but is only a suspect (no evidences found)
任何有相同问题的人?在哪里可以找到更多信息?有什么建议吗?
Anyone with the same problem? Any place where I can find more info? Any advice?
提前致谢!!
Carlos S。
推荐答案
Hello Carlos,
Hello Carlos,
在使用Deploy R enterprise时,我遇到了同样的问题。基本上,当您运行脚本时,Deploy-R会创建一个项目工作区,并尝试在其中执行脚本。如果你正在使用任何不在工作区中的数据文件(rdata,csv),那么 Deploy-R会给你这个错误。
I have faced the same issue while working with Deploy R enterprise. Basically, when you run a script Deploy-R creates a project workspace and will try to execute the script in it. And if you are using any data file (rdata, csv) which is not in the workspace Deploy-R will give you this error.
所以如果你需要测试此方案,您可以执行以下操作
So if you need to test this scenario, you can do the following
如果您使用的是API,则需要在创建项目时调用预加载选项。
And if you are using API, you need to call the pre-load options while creating the project.
问候,
Anish Sharma
Anish Sharma
更多推荐
作业失败,执行错误:无法打开连接
发布评论