source: nutchez-0.1/conf/hadoop-env.sh @ 95

Last change on this file since 95 was 66, checked in by waue, 16 years ago

NutchEz - an easy way to nutch

  • Property svn:executable set to *
File size: 2.2 KB
RevLine 
[66]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
10export JAVA_HOME=/usr/lib/jvm/java-6-sun
11
12# Extra Java CLASSPATH elements.  Optional.
13# export HADOOP_CLASSPATH=
14
15# The maximum amount of heap to use, in MB. Default is 1000.
16# export HADOOP_HEAPSIZE=2000
17
18# Extra Java runtime options.  Empty by default.
19# export HADOOP_OPTS=-server
20
21# Command specific options appended to HADOOP_OPTS when specified
22export HADOOP_NAMENODE_OPTS="-Dcom.sun.management.jmxremote $HADOOP_NAMENODE_OPTS"
23export HADOOP_SECONDARYNAMENODE_OPTS="-Dcom.sun.management.jmxremote $HADOOP_SECONDARYNAMENODE_OPTS"
24export HADOOP_DATANODE_OPTS="-Dcom.sun.management.jmxremote $HADOOP_DATANODE_OPTS"
25export HADOOP_BALANCER_OPTS="-Dcom.sun.management.jmxremote $HADOOP_BALANCER_OPTS"
26export HADOOP_JOBTRACKER_OPTS="-Dcom.sun.management.jmxremote $HADOOP_JOBTRACKER_OPTS"
27# export HADOOP_TASKTRACKER_OPTS=
28# The following applies to multiple commands (fs, dfs, fsck, distcp etc)
29# export HADOOP_CLIENT_OPTS
30
31# Extra ssh options.  Empty by default.
32# export HADOOP_SSH_OPTS="-o ConnectTimeout=1 -o SendEnv=HADOOP_CONF_DIR"
33
34# Where log files are stored.  $HADOOP_HOME/logs by default.
35# export HADOOP_LOG_DIR=${HADOOP_HOME}/logs
36
37# File naming remote slave hosts.  $HADOOP_HOME/conf/slaves by default.
38# export HADOOP_SLAVES=${HADOOP_HOME}/conf/slaves
39
40# host:path where hadoop code should be rsync'd from.  Unset by default.
41# export HADOOP_MASTER=master:/home/$USER/src/hadoop
42
43# Seconds to sleep between slave commands.  Unset by default.  This
44# can be useful in large clusters, where, e.g., slave rsyncs can
45# otherwise arrive faster than the master can service them.
46# export HADOOP_SLAVE_SLEEP=0.1
47
48# The directory where pid files are stored. /tmp by default.
49# export HADOOP_PID_DIR=/var/hadoop/pids
50
51# A string representing this instance of hadoop. $USER by default.
52# export HADOOP_IDENT_STRING=$USER
53
54# The scheduling priority for daemon processes.  See 'man nice'.
55# export HADOOP_NICENESS=10
Note: See TracBrowser for help on using the repository browser.