ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Nettleton (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-9097) Deploying Falcon via a Blueprint fails
Date Mon, 12 Jan 2015 21:23:35 GMT
Robert Nettleton created AMBARI-9097:
----------------------------------------

             Summary: 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


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)

Mime
View raw message