source: hadoop4win-setup/my_packages/hadoop/conf-examples/hadoop-env.sh @ 129

Last change on this file since 129 was 129, checked in by jazz, 15 years ago
  • dos2unix/unix2dos cause problem
  • Property svn:executable set to *
File size: 2.2 KB
Line 
1# Set Hadoop-specific environment variables here.
2
3# The only required environment variable is JAVA_HOME.  All others are
4# optional.  When running a distributed configuration it is best to
5# set JAVA_HOME in this file, so that it is correctly defined on
6# remote nodes.
7
8# The java implementation to use.  Required.
9# export JAVA_HOME=/usr/lib/j2sdk1.5-sun
10
11# Extra Java CLASSPATH elements.  Optional.
12# export HADOOP_CLASSPATH=
13
14# The maximum amount of heap to use, in MB. Default is 1000.
15# export HADOOP_HEAPSIZE=2000
16
17# Extra Java runtime options.  Empty by default.
18# export HADOOP_OPTS=-server
19
20# Command specific options appended to HADOOP_OPTS when specified
21export HADOOP_NAMENODE_OPTS="-Dcom.sun.management.jmxremote $HADOOP_NAMENODE_OPTS"
22export HADOOP_SECONDARYNAMENODE_OPTS="-Dcom.sun.management.jmxremote $HADOOP_SECONDARYNAMENODE_OPTS"
23export HADOOP_DATANODE_OPTS="-Dcom.sun.management.jmxremote $HADOOP_DATANODE_OPTS"
24export HADOOP_BALANCER_OPTS="-Dcom.sun.management.jmxremote $HADOOP_BALANCER_OPTS"
25export HADOOP_JOBTRACKER_OPTS="-Dcom.sun.management.jmxremote $HADOOP_JOBTRACKER_OPTS"
26# export HADOOP_TASKTRACKER_OPTS=
27# The following applies to multiple commands (fs, dfs, fsck, distcp etc)
28# export HADOOP_CLIENT_OPTS
29
30# Extra ssh options.  Empty by default.
31# export HADOOP_SSH_OPTS="-o ConnectTimeout=1 -o SendEnv=HADOOP_CONF_DIR"
32
33# Where log files are stored.  $HADOOP_HOME/logs by default.
34# export HADOOP_LOG_DIR=${HADOOP_HOME}/logs
35
36# File naming remote slave hosts.  $HADOOP_HOME/conf/slaves by default.
37# export HADOOP_SLAVES=${HADOOP_HOME}/conf/slaves
38
39# host:path where hadoop code should be rsync'd from.  Unset by default.
40# export HADOOP_MASTER=master:/home/$USER/src/hadoop
41
42# Seconds to sleep between slave commands.  Unset by default.  This
43# can be useful in large clusters, where, e.g., slave rsyncs can
44# otherwise arrive faster than the master can service them.
45# export HADOOP_SLAVE_SLEEP=0.1
46
47# The directory where pid files are stored. /tmp by default.
48# export HADOOP_PID_DIR=/var/hadoop/pids
49
50# A string representing this instance of hadoop. $USER by default.
51# export HADOOP_IDENT_STRING=$USER
52
53# The scheduling priority for daemon processes.  See 'man nice'.
54# export HADOOP_NICENESS=10
Note: See TracBrowser for help on using the repository browser.