ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-18183) Falcon start fails if unicode symbol happens to be in configs
Date Wed, 17 Aug 2016 14:21:20 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-18183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Onischuk updated AMBARI-18183:
-------------------------------------
    Attachment: AMBARI-18183.patch

> Falcon start fails if unicode symbol happens to be in configs
> -------------------------------------------------------------
>
>                 Key: AMBARI-18183
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18183
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-18183.patch
>
>
>     Traceback (most recent call last):
>       File "/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/falcon_client.py",
line 81, in <module>
>         FalconClient().execute()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 280, in execute
>         method(env)
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 680, in restart
>         self.install(env)
>       File "/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/falcon_client.py",
line 46, 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 34, in configure
>         falcon('client', action='config')
>       File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line
89, in thunk
>         return fn(*args, **kwargs)
>       File "/var/lib/ambari-agent/cache/common-services/FALCON/0.5.0.2.1/package/scripts/falcon.py",
line 102, in falcon
>         owner = params.falcon_user)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line
155, in __init__
>         self.env.run()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 160, in run
>         self.run_action(resource, action)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 124, in run_action
>         provider_action()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/properties_file.py",
line 54, in action_create
>         mode = self.resource.mode
>       File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line
155, in __init__
>         self.env.run()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 160, in run
>         self.run_action(resource, action)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 124, in run_action
>         provider_action()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 123, in action_create
>         content = self._get_content()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 160, in _get_content
>         return content()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line
51, in __call__
>         return self.get_content()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line
142, in get_content
>         rendered = self.template.render(self.context)
>       File "/usr/lib/python2.6/site-packages/ambari_jinja2/environment.py", line 891,
in render
>         return self.environment.handle_exception(exc_info, True)
>       File "<template>", line 3, in top-level template code
>     UnicodeEncodeError: 'ascii' codec can't encode characters in position 567-568: ordinal
not in range(128)
>     



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message