- 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/Rserv
pwdfile /etc/Rserveusers
remote enable
auth enable
plaintext enable
port 6311
maxsendbuf 0
interactive no
For 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>.jar
file to the lib directory in the remote file path configured. The version ofojdbc<version>.jar
file is based on the Java version. - The
lib
andconf
folders have to be created under the path mentioned in<REMOTE_FILE_PATH>
tag. - For the Kerberos authentication the required
jaas-conf
,krb-conf
andkeytab
files have to be placed underconf
folder. Thejaas-conf
file name should be same as that of thekeytab
file name. It should be placed under theconf
folder in the read-write path in remote machine or in the$FIC_DB_HOME/conf
folder in case of local executions. Thekrb5 conf
file name should be same as the name configured in the table. - Hive and Hadoop related jars should be copied to the
lib
folder mentioned in the<REMOTE_FILE_PATH>
tag.
- If RJDBC connection is required, copy the