Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.1.0
    • Fix Version/s: 0.2.0
    • Component/s: Debian, RPM
    • Labels:
      None

      Description

      The init.d scripts have a hard-coded PID file, e.g.:

      PIDFILE="/var/run/hadoop-0.20/hadoop-$HADOOP_IDENT_STRING-namenode.pid"

      The init scripts should instead respect the values set in hadoop-env.sh

      Current work-around is to set HADOOP_PID_DIR in hadoop-env.sh to /var/run/hadoop-0.20. Note that HADOOP_IDENT_STRING must be set to the same value in both /etc/default/hadoop-0.20 and hadoop-env.sh for the pid file to be found. It defaults to "hadoop" in /etc/default/hadoop-0.20.

      1. BIGTOP-20.patch.txt
        2 kB
        Roman Shaposhnik

        Issue Links

          Activity

          Show
          Roman Shaposhnik added a comment - https://issues.cloudera.org/browse/DISTRO-54
          Hide
          Bruno Mahé added a comment -

          +1

          Show
          Bruno Mahé added a comment - +1

            People

            • Assignee:
              Roman Shaposhnik
              Reporter:
              Roman Shaposhnik
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development