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

[jira] [Commented] (AMBARI-9097) Deploying Falcon via a Blueprint fails

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

Hadoop QA commented on AMBARI-9097:
-----------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12691750/AMBARI-9097.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 2 new or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in ambari-server.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/1286//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/1286//console

This message is automatically generated.

> 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)