You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2014/07/31 14:24:38 UTC
[jira] [Reopened] (AMBARI-6674) potential language/encoding problem
with mysql
[ https://issues.apache.org/jira/browse/AMBARI-6674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Onischuk reopened AMBARI-6674:
-------------------------------------
Reverted from trunk.
This causes Storm Service Check to fail:
{noformat}
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/stacks/HDP/2.1/services/STORM/package/scripts/service_check.py", line 44, in <module>
ServiceCheck().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 113, in execute
method(env)
File "/var/lib/ambari-agent/cache/stacks/HDP/2.1/services/STORM/package/scripts/service_check.py", line 32, in service_check
content=StaticFile("wordCount.jar")
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 114, in action_create
fp.write(content.encode("UTF-8"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0x86 in position 12: ordinal not in range(128)
{noformat}
{noformat}
2014-07-31 12:11:28,768 - File['/tmp/wordCount.jar'] {'content': StaticFile('wordCount.jar')}
2014-07-31 12:11:28,987 - Writing File['/tmp/wordCount.jar'] because it doesn't exist
{noformat}
We can't encode all the contents which are written to the files, cause we write binary files as well.
> potential language/encoding problem with mysql
> ----------------------------------------------
>
> Key: AMBARI-6674
> URL: https://issues.apache.org/jira/browse/AMBARI-6674
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 1.7.0
>
>
> More info posted by user. Looks like OS is setup for fr_FR locale.
> <http://hortonworks.com/community/forums/topic/ambari-mysql-install-failure/>
--
This message was sent by Atlassian JIRA
(v6.2#6252)