Uploaded image for project: 'CDH (READ-ONLY)'
  1. CDH (READ-ONLY)
  2. DISTRO-442

Hadoop pid file path should honour HADOOP_PID_DIR instead of hardcoded as "/var/run/hadoop-hdfs/hadoop-hdfs-namenode.pid"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: CDH4.1.2
    • Fix Version/s: CDH 6.0.0
    • Component/s: HDFS
    • Labels:
      None

      Description

      this bug is similiar to https://issues.cloudera.org/browse/DISTRO-54 (which applies to CDH3u2)

      In /etc/init.d/hadoop-hdfs-namenode, it says: PIDFILE="/var/run/hadoop-hdfs/hadoop-hdfs-namenode.pid"
      However in /usr/lib/hadoop/sbin/hadoop-daemon.sh, it says: pid=$HADOOP_PID_DIR/hadoop-$HADOOP_IDENT_STRING-$command.pid

      They should both honour $HADOOP_PID_DIR

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jessehu Jesse Hu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: