Created 10-27-2016 03:02 AM
Hi guys, I am trying to install R on Hortonworks Sandbox, referring this right now:
https://github.com/randerzander/r-service
Install step got successful but getting the following error in Check R step.
resource_management.core.exceptions.Fail: Execution of 'R --file=/var/lib/ambari-agent/cache/stacks/HDP/2.5/services/r-service/package/scripts/r/smoke_test.r' returned 1. Error in objects(db.pos, all.names = TRUE) : 2 arguments passed to .Internal(ls) which requires 3 Execution halted
This repo was meant for HDP2.2 but I am using with 2.5, is there a updated version for this repo?
Created 10-27-2016 03:36 AM
Error comes from the execution of the line 10 of the service check script: https://github.com/randerzander/r-service/blob/master/package/scripts/ambari/service_check.py
It indicates that only 2 parameters have been passed instead of 3.
That question about a more updated version of the repo is really to the private owner of the repository (randerzander) and less to Ambari community. You could follow the code path, if you have the time, and contribute to the repo.
What about going differently to achieve the same? See this article: http://toodey.com/2016/01/12/installing-open-source-r-on-hortonworks-sandbox-hadoop/
++++
If any response addressed your question, please vote and accept the best answer.
Created 10-27-2016 03:36 AM
Error comes from the execution of the line 10 of the service check script: https://github.com/randerzander/r-service/blob/master/package/scripts/ambari/service_check.py
It indicates that only 2 parameters have been passed instead of 3.
That question about a more updated version of the repo is really to the private owner of the repository (randerzander) and less to Ambari community. You could follow the code path, if you have the time, and contribute to the repo.
What about going differently to achieve the same? See this article: http://toodey.com/2016/01/12/installing-open-source-r-on-hortonworks-sandbox-hadoop/
++++
If any response addressed your question, please vote and accept the best answer.
Created 10-31-2016 07:19 PM
Thank you so much @Constantin Stanca, I followed the other link and installed R, rhdfs, rmr2 and rhive. It was a great help.