FAQ
to fix hadoop config template
-----------------------------

Key: HADOOP-7658
URL: https://issues.apache.org/jira/browse/HADOOP-7658
Project: Hadoop Common
Issue Type: Bug
Reporter: Giridharan Kesavan


hadoop rpm config template by default sets the HADOOP_SECURE_DN_USER, HADOOP_SECURE_DN_LOG_DIR & HADOOP_SECURE_DN_PID_DIR
the above values should only be set for secured deployment ;
# On secure datanodes, user to run the datanode as after dropping privileges
export HADOOP_SECURE_DN_USER=${HADOOP_HDFS_USER}

# Where log files are stored. $HADOOP_HOME/logs by default.
export HADOOP_LOG_DIR=${HADOOP_LOG_DIR}/$USER

# Where log files are stored in the secure data environment.
export HADOOP_SECURE_DN_LOG_DIR=${HADOOP_LOG_DIR}/${HADOOP_HDFS_USER}

# The directory where pid files are stored. /tmp by default.
export HADOOP_PID_DIR=${HADOOP_PID_DIR}
export HADOOP_SECURE_DN_PID_DIR=${HADOOP_PID_DIR}


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedSep 20, '11 at 12:59a
activeSep 20, '11 at 12:59a
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Giridharan Kesavan (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase