[
https://issues.apache.org/jira/browse/AMBARI-9097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14275648#comment-14275648
]
Hudson commented on AMBARI-9097:
--------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #1470 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/1470/])
AMBARI-9097. Deploying Falcon via a Blueprint fails. (rnettleton) (rnettleton:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2eeebfa2f75162776b39eefbfe150ae31622ae07)
*
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterResourceProvider.java
*
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterResourceProviderTest.java
*
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/Stack.java
*
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintResourceProviderTest.java
*
ambari-server/src/main/java/org/apache/ambari/server/controller/StackServiceResponse.java
> Deploying Falcon via a Blueprint fails
> --------------------------------------
>
> Key: AMBARI-9097
> URL: https://issues.apache.org/jira/browse/AMBARI-9097
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.0.0
> Reporter: Robert Nettleton
> Assignee: Robert Nettleton
> Fix For: 2.0.0
>
> Attachments: AMBARI-9097.patch
>
>
> Deploying Falcon components with a Blueprint is failing.
> ambari-agent reports the following error when attempting to setup the Falcon
> Client:
> Traceback (most recent call last):
> File
> \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
> line 152, in execute
> method(env)
> File
> \"/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/falcon_client.py\",
> line 26, in install
> self.configure(env)
> File
> \"/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/falcon_client.py\",
> line 29, in configure
> import params
> File
> \"/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/params.py\",
> line 23, in <module>
> from status_params import *
> File
> \"/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/status_params.py\",
> line 24, in <module>
> server_pid_file = format('{falcon_pid_dir}/falcon.pid')
> File
> \"/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py\",
> line 83, in format
> return ConfigurationFormatter().format(format_string, args, **result)
> File
> \"/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py\",
> line 47, in format
> result_protected = self.vformat(format_string, args, all_params)
> File \"/usr/lib64/python2.6/string.py\", line 549, in vformat
> result = self._vformat(format_string, args, kwargs, used_args, 2)
> File \"/usr/lib64/python2.6/string.py\", line 582, in _vformat
> result.append(self.format_field(obj, format_spec))
> File \"/usr/lib64/python2.6/string.py\", line 599, in format_field
> return format(value, format_spec)
> File
> \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py\",
> line 79, in __getattr__
> raise Fail(\"Configuration parameter '\"+self.name+\"' was not found
> in configurations dictionary!\")
> Fail: Configuration parameter 'falcon-env' was not found in
> configurations dictionary!",
> The Blueprint configuration processor is not correctly handling the case of a
> component, such as Falcon, that includes "excluded" config references in its
> stack definition. This appears to be a regression.
> I'm working on a patch to resolve this, and will be submitting it shortly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)