Environment Variables

Describes the environment variables specific to the HPE Ezmeral Data Fabric.

For core release 6.0 and later, environment variables should be set in /opt/mapr/conf/env_override.sh. Editing /opt/mapr/conf/env.sh is no longer recommended. For more information, see About env_override.sh.

Variable

Example Values

Description

CLDB_EXTERNAL_RPC_PORT 5000 If clients outside the cluster cannot reach CLDB on the default port, use the CLDB_EXTERNAL_RPC_PORT environment variable to specify the port on which CLDB can be reached.
JAVA_HOME /usr/lib/jvm/java-7-sun The directory where the correct version of Java is installed.
MAPR_HOME /opt/mapr (default) The directory in which the core software is installed.
CAUTION Specifying a MAPR_HOME directory other than /opt/mapr is not supported and can cause installation errors.
MAPR_EXTERNAL 10.10.123.25,10.10.123.30 If your cluster nodes have multiple NICs, use the MAPR_EXTERNAL environment variable to grant external clients access to a cluster node on specific IP addresses. The value of the MAPR_EXTERNAL environment variable on a node is a comma-separated list of up to four IP addresses with no spaces.
MAPR_SUBNETS 10.10.123.0/24,10.10.124.0/24 MAPR_SUBNETS is used for Data Fabric RPC to RPC communication. The MFS, CLDB, NFS, and LOOPBACKNFS modules use this environment variable.

The NFS and LOOPBACKNFS modules use this environment variable when registering with CLDB.

If you do not want Data Fabric to use all NICs on each node, use this environment variable to restrict Data Fabric traffic to specific NICs. Set MAPR_SUBNETS to a comma-separated list of up to four subnets in CIDR notation with no spaces. If you do not set MAPR_SUBNETS, Data Fabric uses all NICs present on the node. If MAPR_SUBNETS is set, make sure that the node can reach all nodes in the cluster (servers and clients) using the specified subnets.
MAPR_USER mapr (default) Used with configure.sh to specify the user under which Data Fabric runs its services. If not explicitly set, it defaults to the user mapr. After configure.sh is run, the value is stored in daemon.conf .
MAPR_ECOSYSTEM_LOGIN_OPTS *hybrid* Specifies the JAAS configuration to use with installed open source components.