HADOOP-8200. Remove HADOOP_[JOBTRACKER|TASKTRACKER]_OPTS. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1304112 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4e58186987
commit
0259a3ea6b
|
@ -209,6 +209,8 @@ Release 0.23.3 - UNRELEASED
|
|||
command and the first output is taken. This was done to handle the
|
||||
build of Hadoop with IBM's JDK. (Stephen Watt, Guillermo Cabrera and ddas)
|
||||
|
||||
HADOOP-8200. Remove HADOOP_[JOBTRACKER|TASKTRACKER]_OPTS. (eli)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
BUG FIXES
|
||||
|
|
|
@ -134,8 +134,6 @@
|
|||
<tr><td>DataNode</td><td>HADOOP_DATANODE_OPTS</td></tr>
|
||||
<tr><td>SecondaryNamenode</td>
|
||||
<td>HADOOP_SECONDARYNAMENODE_OPTS</td></tr>
|
||||
<tr><td>JobTracker</td><td>HADOOP_JOBTRACKER_OPTS</td></tr>
|
||||
<tr><td>TaskTracker</td><td>HADOOP_TASKTRACKER_OPTS</td></tr>
|
||||
</table>
|
||||
|
||||
<p> For example, To configure Namenode to use parallelGC, the
|
||||
|
|
|
@ -484,7 +484,7 @@ else
|
|||
fi
|
||||
|
||||
#unset env vars
|
||||
unset HADOOP_CLIENT_OPTS HADOOP_NAMENODE_OPTS HADOOP_JOBTRACKER_OPTS HADOOP_TASKTRACKER_OPTS HADOOP_DATANODE_OPTS HADOOP_SECONDARYNAMENODE_OPTS HADOOP_JAVA_PLATFORM_OPTS
|
||||
unset HADOOP_CLIENT_OPTS HADOOP_NAMENODE_OPTS HADOOP_DATANODE_OPTS HADOOP_SECONDARYNAMENODE_OPTS HADOOP_JAVA_PLATFORM_OPTS
|
||||
|
||||
if [ "${AUTOMATED}" != "1" ]; then
|
||||
echo "Setup Hadoop Configuration"
|
||||
|
|
|
@ -49,8 +49,6 @@ export HADOOP_OPTS="-Djava.net.preferIPv4Stack=true $HADOOP_CLIENT_OPTS"
|
|||
|
||||
# Command specific options appended to HADOOP_OPTS when specified
|
||||
export HADOOP_NAMENODE_OPTS="-Dhadoop.security.logger=INFO,DRFAS -Dhdfs.audit.logger=INFO,DRFAAUDIT $HADOOP_NAMENODE_OPTS"
|
||||
HADOOP_JOBTRACKER_OPTS="-Dhadoop.security.logger=INFO,DRFAS -Dmapred.audit.logger=INFO,MRAUDIT -Dmapred.jobsummary.logger=INFO,JSA $HADOOP_JOBTRACKER_OPTS"
|
||||
HADOOP_TASKTRACKER_OPTS="-Dhadoop.security.logger=ERROR,console -Dmapred.audit.logger=ERROR,console $HADOOP_TASKTRACKER_OPTS"
|
||||
HADOOP_DATANODE_OPTS="-Dhadoop.security.logger=ERROR,DRFAS $HADOOP_DATANODE_OPTS"
|
||||
|
||||
export HADOOP_SECONDARYNAMENODE_OPTS="-Dhadoop.security.logger=INFO,DRFAS -Dhdfs.audit.logger=INFO,DRFAAUDIT $HADOOP_SECONDARYNAMENODE_OPTS"
|
||||
|
|
Loading…
Reference in New Issue