Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-18139

Oozie service check fails if set yarn.resourcemanager.address to the default from yarn-default.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • ambari-server
    • None

    Description

      yarn-default.xml suggests to use ${yarn.resourcemanager.hostname}:8032 as yarn.resourcemanager.address.

      But Oozie service check fails if value contains a substitution placeholder '${yarn.resourcemanager.hostname}'

      resource_management.core.exceptions.Fail: Execution of '/var/lib/ambari-agent/tmp/prepareOozieHdfsDirectories.sh /usr/hdp/current/oozie-client/conf /usr/hdp/current/oozie-client/doc /usr/hdp/current/hadoop-client/conf ${yarn.resourcemanager.hostname}:8050 hdfs://nameservice default' returned 1. /bin/bash: ${yarn.resourcemanager.hostname}:8050: bad substitution
      

      Attachments

        1. AMBARI-18139.patch
          3 kB
          Dmitry Lysnichenko

        Issue Links

          Activity

            People

              dmitriusan Dmitry Lysnichenko
              dmitriusan Dmitry Lysnichenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: