[
https://issues.apache.org/jira/browse/AMBARI-14122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15033191#comment-15033191
]
Swapan Shridhar commented on AMBARI-14122:
------------------------------------------
Reason for this behavior :
--------------------------------
* In DELETE operation of 'upgrade-<version>.xml', we specifically direct to
retain certain properties for Oozie-falcon integration using 'keep-key'
directive.
* That's the place we ask it to retain the following 7 properties which become
the source of problem, as they don't exist and 'keep-key' was actually creating
them, and finally they were there without any value associated with them.
oozie.service.ELService.ext.functions.coord-job-submit-instances,
oozie.service.ELService.ext.functions.coord-action-create-inst,
oozie.service.ELService.ext.functions.coord-action-create,
oozie.service.ELService.ext.functions.coord-job-submit-data,
oozie.service.ELService.ext.functions.coord-action-start,
oozie.service.ELService.ext.functions.coord-sla-submit,
oozie.service.ELService.ext.functions.coord-sla-create
* The properties are part of the 'falcon-oozie integration', and this problem
surfaces only when we are upgrading and "Falcon" service is not present. We
were adding them, without checking whether these properties themselves exist at
the first place.
Fix :
----
Fixed the code in ConfigureAction.java where in case of DELETE, it checks for
'key' existence before adding/retaining it as part of 'keep-key' in Upgrade.
> "Falcon - Oozie Integration" property are not populated and marked Mandatory
> After Upgrade
> ------------------------------------------------------------------------------------------
>
> Key: AMBARI-14122
> URL: https://issues.apache.org/jira/browse/AMBARI-14122
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: ambari-2.2.0, Ambari-2.1.3
> Reporter: Swapan Shridhar
> Assignee: Swapan Shridhar
> Fix For: ambari-2.2.0, Ambari-2.1.3
>
> Attachments: Faclon-ozzie integration issue.png
>
>
> * While doing Express/Rolling upgrade, with Oozie as one of the service and
> specifically excluding FALCON as one of the service, a new set of 7
> properties under "Falcon - Oozie Integration" are introduced.
> * They are marked 'mandatory' but don't have a value associated. Therefore,
> these properties get shown as RED on UI (as they are mandatory.)
> * Screenshot : "Falcon-oozie integration issue.png"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)