-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/49199/
-----------------------------------------------------------

Review request for Ambari, Myroslav Papirkovskyy and Vitalyi Brodetskyi.


Bugs: AMBARI-17428
    https://issues.apache.org/jira/browse/AMBARI-17428


Repository: ambari


Description
-------

Falcon client failed and is blocking UI installs :

"Traceback (most recent call last):\n  File 
\"/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/falcon_client.py\",
 line 80, in <module>\n    FalconClient().execute()\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
 line 280, in execute\n    method(env)\n  File 
\"/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/falcon_client.py\",
 line 45, in install\n    self.configure(env)\n  File 
\"/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/falcon_client.py\",
 line 33, in configure\n    falcon('client', action='config')\n  File 
\"/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py\", line 89, 
in thunk\n    return fn(*args, **kwargs)\n  File 
\"/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/falcon.py\",
 line 84, in falcon\n    owner = params.falcon_user)\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/base
 .py\", line 155, in __init__\n    self.env.run()\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
line 160, in run\n    self.run_action(resource, action)\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
line 124, in run_action\n    provider_action()\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/libraries/providers/properties_file.py\",
 line 54, in action_create\n    mode = self.resource.mode\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", line 
155, in __init__\n    self.env.run()\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
line 160, in run\n    self.run_action(resource, action)\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
line 124, in run_action\n    provider_action()\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py\",
 line 123, in action_crea
 te\n    content = self._get_content()\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py\",
 line 160, in _get_content\n    return content()\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/source.py\", line 
51, in __call__\n    return self.get_content()\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/source.py\", line 
142, in get_content\n    rendered = self.template.render(self.context)\n  File 
\"/usr/lib/python2.6/site-packages/ambari_jinja2/environment.py\", line 891, in 
render\n    return self.environment.handle_exception(exc_info, True)\n  File 
\"<template>\", line 2, in top-level template code\n  File 
\"/usr/lib/python2.6/site-packages/ambari_jinja2/filters.py\", line 176, in 
do_dictsort\n    return sorted(value.items(), key=sort_func)\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py\",
 line 73, in __getattr__\n    raise Fail(\"Configuration parameter
  '\" + self.name + \"' was not found in configurations 
dictionary!\")\nresource_management.core.exceptions.Fail: Configuration 
parameter 'falcon-client.properties' was not found in configurations 
dictionary!",


Diffs
-----

  
ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/configuration/falcon-client.properties.xml
 PRE-CREATION 
  
ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/metainfo.xml 
985e7f4 
  
ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/falcon.py
 2bdaa48 
  
ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/FALCON/configuration/falcon-client.properties.xml
 PRE-CREATION 
  
ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/FALCON/metainfo.xml
 2e444b1 
  
ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/FALCON/package/scripts/params.py
 41ecafa 

Diff: https://reviews.apache.org/r/49199/diff/


Testing
-------

Unit tests passed


Thanks,

Dmytro Sen

Reply via email to