Whirr
  1. Whirr
  2. WHIRR-677

Whirr fails to install CDH4 nodemanager properly

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.1
    • Fix Version/s: 0.8.2
    • Component/s: core
    • Labels:
      None
    • Environment:

      ubuntu 12.04, 11.10, 11.04
      CHD4

      Description

      Whirr fails to install yarn-nodemanager on designated machines. It creates a yarn-nodemanager service and attempts to start it but it fails as it cannot find /usr/lib/hadoop-mapreduce folder. This folder is installed as part of YARN mapreduce. It installs hadoop-mapreduce-0.20.

      The problems seems to come from property files. Even after specifying

      whirr.env.mapreduce_version=2

      It fails to install hadoop-mapreduce. On some investigation i found that this variable needs to be converted to UPPER CASE as all other variable in subsequent scripts.

      If i put

      whirr.env.MAPREDUCE_VERSION=2

      it works.

      Someone please take a not and correct this.

        Issue Links

          Activity

          Hide
          Graham Gear added a comment -

          Thanks for raising this and good job getting to the bottom of the issue.

          A recent patch committed against WHIRR-675 will resolve this, so from 0.8.2 onwards you will not have to upper case the whirr.env variables and issues like this will not eventuate.

          Show
          Graham Gear added a comment - Thanks for raising this and good job getting to the bottom of the issue. A recent patch committed against WHIRR-675 will resolve this, so from 0.8.2 onwards you will not have to upper case the whirr.env variables and issues like this will not eventuate.

            People

            • Assignee:
              Unassigned
              Reporter:
              ravi bhatt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development