HDFS-3336. hdfs launcher script will be better off not special casing namenode command with regards to hadoop.security.logger (rvs via tucu)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1333236 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6575fcd430
commit
e1a961d1bc
|
@ -583,6 +583,9 @@ Release 2.0.0 - UNRELEASED
|
||||||
HDFS-3326. Append enabled log message uses the wrong variable.
|
HDFS-3326. Append enabled log message uses the wrong variable.
|
||||||
(Matthew Jacobs via eli)
|
(Matthew Jacobs via eli)
|
||||||
|
|
||||||
|
HDFS-3336. hdfs launcher script will be better off not special casing
|
||||||
|
namenode command with regards to hadoop.security.logger (rvs via tucu)
|
||||||
|
|
||||||
BREAKDOWN OF HDFS-1623 SUBTASKS
|
BREAKDOWN OF HDFS-1623 SUBTASKS
|
||||||
|
|
||||||
HDFS-2179. Add fencing framework and mechanisms for NameNode HA. (todd)
|
HDFS-2179. Add fencing framework and mechanisms for NameNode HA. (todd)
|
||||||
|
|
|
@ -118,12 +118,7 @@ if $cygwin; then
|
||||||
fi
|
fi
|
||||||
export CLASSPATH=$CLASSPATH
|
export CLASSPATH=$CLASSPATH
|
||||||
|
|
||||||
#turn security logger on the namenode
|
HADOOP_OPTS="$HADOOP_OPTS -Dhadoop.security.logger=${HADOOP_SECURITY_LOGGER:-INFO,NullAppender}"
|
||||||
if [ $COMMAND = "namenode" ]; then
|
|
||||||
HADOOP_OPTS="$HADOOP_OPTS -Dhadoop.security.logger=${HADOOP_SECURITY_LOGGER:-INFO,RFAS}"
|
|
||||||
else
|
|
||||||
HADOOP_OPTS="$HADOOP_OPTS -Dhadoop.security.logger=${HADOOP_SECURITY_LOGGER:-INFO,NullAppender}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check to see if we should start a secure datanode
|
# Check to see if we should start a secure datanode
|
||||||
if [ "$starting_secure_dn" = "true" ]; then
|
if [ "$starting_secure_dn" = "true" ]; then
|
||||||
|
|
Loading…
Reference in New Issue