HADOOP-7658. Fixed HADOOP_SECURE_DN_USER environment variable in hadoop-evn.sh
(Eric Yang) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1178646 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
abc2b45dfa
commit
62682a12e5
@ -641,7 +641,11 @@ Release 0.23.0 - Unreleased
|
|||||||
|
|
||||||
HADOOP-7691. Fixed conflict uid for install packages. (Eric Yang)
|
HADOOP-7691. Fixed conflict uid for install packages. (Eric Yang)
|
||||||
|
|
||||||
HADOOP-7603. Set hdfs, mapred uid, and hadoop uid to fixed numbers. (Eric Yang)
|
HADOOP-7603. Set hdfs, mapred uid, and hadoop uid to fixed numbers.
|
||||||
|
(Eric Yang)
|
||||||
|
|
||||||
|
HADOOP-7658. Fixed HADOOP_SECURE_DN_USER environment variable in
|
||||||
|
hadoop-evn.sh (Eric Yang)
|
||||||
|
|
||||||
Release 0.22.0 - Unreleased
|
Release 0.22.0 - Unreleased
|
||||||
|
|
||||||
|
@ -270,11 +270,13 @@ if [ "${SECURITY_TYPE}" = "kerberos" ]; then
|
|||||||
HADOOP_DN_ADDR="0.0.0.0:1019"
|
HADOOP_DN_ADDR="0.0.0.0:1019"
|
||||||
HADOOP_DN_HTTP_ADDR="0.0.0.0:1022"
|
HADOOP_DN_HTTP_ADDR="0.0.0.0:1022"
|
||||||
SECURITY="true"
|
SECURITY="true"
|
||||||
|
HADOOP_SECURE_DN_USER=${HADOOP_HDFS_USER}
|
||||||
else
|
else
|
||||||
TASK_CONTROLLER="org.apache.hadoop.mapred.DefaultTaskController"
|
TASK_CONTROLLER="org.apache.hadoop.mapred.DefaultTaskController"
|
||||||
HADDOP_DN_ADDR="0.0.0.0:50010"
|
HADDOP_DN_ADDR="0.0.0.0:50010"
|
||||||
HADOOP_DN_HTTP_ADDR="0.0.0.0:50075"
|
HADOOP_DN_HTTP_ADDR="0.0.0.0:50075"
|
||||||
SECURITY="false"
|
SECURITY="false"
|
||||||
|
HADOOP_SECURE_DN_USER=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${AUTOMATED}" != "1" ]; then
|
if [ "${AUTOMATED}" != "1" ]; then
|
||||||
|
@ -56,7 +56,7 @@ export HADOOP_CLIENT_OPTS="-Xmx128m ${HADOOP_CLIENT_OPTS}"
|
|||||||
#HADOOP_JAVA_PLATFORM_OPTS="-XX:-UsePerfData ${HADOOP_JAVA_PLATFORM_OPTS}"
|
#HADOOP_JAVA_PLATFORM_OPTS="-XX:-UsePerfData ${HADOOP_JAVA_PLATFORM_OPTS}"
|
||||||
|
|
||||||
# On secure datanodes, user to run the datanode as after dropping privileges
|
# On secure datanodes, user to run the datanode as after dropping privileges
|
||||||
export HADOOP_SECURE_DN_USER=${HADOOP_HDFS_USER}
|
export HADOOP_SECURE_DN_USER=${HADOOP_SECURE_DN_USER}
|
||||||
|
|
||||||
# Where log files are stored. $HADOOP_HOME/logs by default.
|
# Where log files are stored. $HADOOP_HOME/logs by default.
|
||||||
export HADOOP_LOG_DIR=${HADOOP_LOG_DIR}/$USER
|
export HADOOP_LOG_DIR=${HADOOP_LOG_DIR}/$USER
|
||||||
|
Loading…
Reference in New Issue
Block a user