Created
May 18, 2009 12:41
-
-
Save rkh/113446 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set Hadoop-specific environment variables here. | |
# The only required environment variable is JAVA_HOME. All others are | |
# optional. When running a distributed configuration it is best to | |
# set JAVA_HOME in this file, so that it is correctly defined on | |
# remote nodes. | |
# The java implementation to use. Required. | |
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home | |
# The maximum amount of heap to use, in MB. Default is 1000. | |
export HADOOP_HEAPSIZE=2000 | |
# Command specific options appended to HADOOP_OPTS when specified | |
export HADOOP_NAMENODE_OPTS="-Dcom.sun.management.jmxremote $HADOOP_NAMENODE_OPTS" | |
export HADOOP_SECONDARYNAMENODE_OPTS="-Dcom.sun.management.jmxremote $HADOOP_SECONDARYNAMENODE_OPTS" | |
export HADOOP_DATANODE_OPTS="-Dcom.sun.management.jmxremote $HADOOP_DATANODE_OPTS" | |
export HADOOP_BALANCER_OPTS="-Dcom.sun.management.jmxremote $HADOOP_BALANCER_OPTS" | |
export HADOOP_JOBTRACKER_OPTS="-Dcom.sun.management.jmxremote $HADOOP_JOBTRACKER_OPTS" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment