Environment Variables
The following table describes environment variables specific to MapR. Note that environment
variables must be set in $MAPR_HOME/conf/env.sh
.
Variable |
Example Values |
Description |
---|---|---|
|
/usr/lib/jvm/java-7-sun |
The directory where the correct version of Java is installed. |
|
/opt/mapr (default) |
The directory in which MapR is installed. |
|
10.10.123.0/24,10.10.124.0/24 |
If you do not want MapR to use all NICs on each node, use the environment variable MAPR_SUBNETS to restrict MapR traffic to specific NICs. Set MAPR_SUBNETS to a comma-separated list of up to four subnets in CIDR notation with no spaces. If MAPR_SUBNETS is not set, MapR uses all NICs present on the node. When MAPR_SUBNETS is set, make sure the node can reach all nodes in the cluster (servers and clients) using the specified subnets. |
|
|
Used with |
MAPR_ECOSYSTEM_LOGIN_OPTS |
*hybrid*
|
Specifies the JAAS configuration to use with installed open source components. |
Sample env.sh File
export JAVA_HOME=/usr/lib/jvm/java-7-sun
export MAPR_HOME=/opt/mapr
export MAPR_SUBNETS=10.10.123.0/24,10.10.124.0/24
export MAPR_USER=mapr
export MAPR_ECOSYSTEM_LOGIN_OPTS=*hybrid*