- Administration and Configuration Guide
- Enterprise Modeling Framework Configurations
- Configurations for OFSAAI Remote Invocation of Scripted Models Using Standard R Distributions
- Configurations
Configurations
Following configurations are required for Rserve in remote nodes where Open-R
engine is installed:
- Create Rserv.conf file in /etc and make following entries:
workdir /tmp/Rservpwdfile /etc/Rserveusersremote enableauth enableplaintext enableport 6311maxsendbuf 0interactive noFor more details, refer the link: http://rforge.net/Rserve/doc.html.Note:
The user who starts the R Server should have the read-write permissions for the working directory. - Set the Environment variables for R:
JAVA_HOME={java home path}JAVA_BIN={java bin path}LD_LIBRARY_PATH={LD library path}Note the following:- If RJDBC connection is required, copy the
ojdbc<version>.jarfile to the lib directory in the remote file path configured. The version ofojdbc<version>.jarfile is based on the Java version. - The
libandconffolders have to be created under the path mentioned in<REMOTE_FILE_PATH>tag. - For the Kerberos authentication the required
jaas-conf,krb-confandkeytabfiles have to be placed underconffolder. Thejaas-conffile name should be same as that of thekeytabfile name. It should be placed under theconffolder in the read-write path in remote machine or in the$FIC_DB_HOME/conffolder in case of local executions. Thekrb5 conffile name should be same as the name configured in the table. - Hive and Hadoop related jars should be copied to the
libfolder mentioned in the<REMOTE_FILE_PATH>tag.
- If RJDBC connection is required, copy the