Settings that you specify in the libnames.parm file take precedence over settings
in the spdsserv.parm file. This enables the SPD Server administrator to define common
Hadoop settings in the spdsserv.parm file and to use the libnames.parm file to override
settings when needed. For more information about the libnames.parm file and the spdsserv.parm
file, see
SAS Scalable Performance Data Server: Administrator’s Guide.
The following parameter file options are needed to access Hadoop:
-
HADOOP=YES in the libnames.parm file to specify that an SPD Server domain can access data in
HDFS.
-
HADOOPCFG= to specify the location of the Hadoop cluster configuration files in either the libnames.parm
file or the spdsserv.parm file. For example, if the cluster configuration files are
copied to the location
/u/hadoop/hdist/cdh/confdir,
then the following syntax sets the location appropriately:
HADOOPCFG=/u/hadoop/hdist/cdh/confdir;
-
HADOOPJAR= to specify the location of the Hadoop distribution JAR files in either the libnames.parm
file or the spdsserv.parm file. For example, if the JAR files are copied to the location
/u/hadoop/hdist/cdh/cdh54,
then the following syntax sets the location appropriately:
HADOOPJAR=/u/hadoop/hdist/cdh/cdh54;
If you specify the HADOOPCFG= and HADOOPJAR= parameter file options in the libnames.parm
file, SPD Server automatically assumes that the domain is a Hadoop domain. You do
not have to specify HADOOP=YES.
If you specify the HADOOPCFG= and HADOOPJAR= parameter file options in the spdsserv.parm
file, the settings become the default settings for the domain. YIn the libnames.parm
file, you must specify HADOOP=YES for each domain definition that you want to be
a Hadoop domain.