Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7658

to fix hadoop config template

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.20.205.0, 0.23.0
    • 0.20.205.0, 0.23.0
    • None
    • None

    Description

      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 ;

      1. On secure datanodes, user to run the datanode as after dropping privileges
        export HADOOP_SECURE_DN_USER=${HADOOP_HDFS_USER}
      1. Where log files are stored. $HADOOP_HOME/logs by default.
        export HADOOP_LOG_DIR=${HADOOP_LOG_DIR}/$USER
      1. Where log files are stored in the secure data environment.
        export HADOOP_SECURE_DN_LOG_DIR=${HADOOP_LOG_DIR}/${HADOOP_HDFS_USER}
      1. 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}

      Attachments

        1. HADOOP-7658-trunk.patch
          2 kB
          Eric Yang
        2. HADOOP-7658.patch
          1 kB
          Eric Yang

        Activity

          People

            eyang Eric Yang
            gkesavan Giridharan Kesavan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: