You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Vitalyi Brodetskyi <vb...@hortonworks.com> on 2016/02/19 18:33:50 UTC
Review Request 43770: Agent bootstrap/registration fails in multi-byte
language environments
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43770/
-----------------------------------------------------------
Review request for Ambari, Andrew Onischuk, Dmitro Lisnichenko, and Dmytro Sen.
Bugs: AMBARI-15115
https://issues.apache.org/jira/browse/AMBARI-15115
Repository: ambari
Description
-------
During cluster installation, Ambari Agent would output the error below and host registration/set up would fail.
It seems that this issue only happens in multi-byte language environments on particular OS's.
The issue occurred on CentOS / RHEL 6.3, 6.4 6.5, 7.1, and 7.2.
CentOS / RHEL 6.6, 6.7 seem to be fine.
Version: HDP 2.3.4, Ambari 2.2.0.0
ambari-agent.out
==============
File "/usr/lib/python2.6/site-packages/resource_management/core/logger.py", line 147, in get_function_repr
return unicode("
{0}
{{
{1}
}}").format(name, arguments_str)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 15: ordinal not in range(128)
Diffs
-----
ambari-common/src/main/python/resource_management/core/logger.py f126f1e
Diff: https://reviews.apache.org/r/43770/diff/
Testing
-------
mvn clean test
Thanks,
Vitalyi Brodetskyi