ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vitalyi Brodetskyi <vbrodets...@hortonworks.com>
Subject Review Request 43770: Agent bootstrap/registration fails in multi-byte language environments
Date Fri, 19 Feb 2016 17:33:50 GMT

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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message