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

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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment