You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Robert Nettleton (JIRA)" <ji...@apache.org> on 2015/01/14 17:35:35 UTC

[jira] [Commented] (AMBARI-8285) %HOSTGROUP::name% token substition not occuring for oozie-site property "oozie.service.JPAService.jdbc.url"

    [ https://issues.apache.org/jira/browse/AMBARI-8285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14277182#comment-14277182 ] 

Robert Nettleton commented on AMBARI-8285:
------------------------------------------

This test case appears to be using an external Postgresql database.  

If that is the case, then attempting to use hostname substitution for a property that points to an external database (not managed by Ambari) will not work, since Ambari has no host to match for the property specified.  

This particular property in oozie-site generally falls into two categories:

1. The default in-memory derby database
2. A URL pointing to a Database that is not managed by Ambari (an external DB). 

Since the Blueprint config processor appears to be working as designed, I'm closing this as "Works as Expected".  

> %HOSTGROUP::name% token substition not occuring for oozie-site property "oozie.service.JPAService.jdbc.url"
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-8285
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8285
>             Project: Ambari
>          Issue Type: Bug
>          Components: blueprints
>    Affects Versions: 1.7.0
>            Reporter: Michael Harp
>
> To reproduce, include "oozie.service.JPAService.jdbc.url": "%HOSTGROUP::host_group_master1%:5432/oozie" in blueprint configuration, example here https://gist.github.com/miharp/d3809efaad78ea876837



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)