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

BP format does not generate property oozie.service.JPAService.jdbc.url

    XMLWordPrintableJSON

Details

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

    Description

      STR:

      • Install Ambari 2.4.0.1 with HDP 2.5 and Oozie (using existing MySQL DB).
      • Notice that oozie-site has config,
        oozie.service.JPAService.jdbc.url=jdbc:mysql://$SERVER/$oozie.db.schema.name
        

        E.g.,
        jdbc:mysql://c6401.ambari.apache.org/oozie

      • Export the BP,
        api/v1/clusters/c1?format=blueprint

      It doesn't generate the "oozie.service.JPAService.jdbc.url" property, so a user trying to use that blueprint will run into errors.
      Further, setting the value of that property to "jdbc:mysql://%HOSTGROUP::host_group_1%/oozie" does not actually replace it with the hostname, and it should also dynamically replace the Oozie DB name.

      Attachments

        1. AMBARI-18546_part2.patch
          1 kB
          Vitaly Brodetskyi
        2. AMBARI-18546.patch
          17 kB
          Vitaly Brodetskyi

        Issue Links

          Activity

            People

              vbrodetskyi Vitaly Brodetskyi
              vbrodetskyi Vitaly Brodetskyi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: