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

Init.d scripts should source the hadoop-env.sh script

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: CDH3u0
    • Fix Version/s: CDH3u2
    • Component/s: Packaging
    • Labels:
      None

      Description

      We noticed that the `hadoop-0.20-datanode start` does not report the status correctly at the end. The root cause has been that the HADOOP_IDENT_STRING was taken from /etc/default/hadoop-0.20 and not from hadoop-env.sh, so the PID file was wrong.

      Should we source the hadoop-env.sh after the /etc/default/hadoop-0.20 in the init.d scripts?

      Alex K

        Attachments

          Activity

            People

            • Assignee:
              rvs Roman V Shaposhnik
              Reporter:
              alexvk@cloudera.com Alex Kozlov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: