You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by vb...@apache.org on 2016/02/22 10:34:36 UTC

ambari git commit: AMBARI-15115. Agent bootstrap/registration fails in multi-byte language environments.(vbrodetskyi)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.2 da021a517 -> c459af890


AMBARI-15115. Agent bootstrap/registration fails in multi-byte language environments.(vbrodetskyi)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c459af89
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c459af89
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c459af89

Branch: refs/heads/branch-2.2
Commit: c459af890f0d054dc36d2e518b6db65ad5fddde3
Parents: da021a5
Author: Vitaly Brodetskyi <vb...@hortonworks.com>
Authored: Mon Feb 22 11:34:08 2016 +0200
Committer: Vitaly Brodetskyi <vb...@hortonworks.com>
Committed: Mon Feb 22 11:34:08 2016 +0200

----------------------------------------------------------------------
 ambari-common/src/main/python/resource_management/core/logger.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/c459af89/ambari-common/src/main/python/resource_management/core/logger.py
----------------------------------------------------------------------
diff --git a/ambari-common/src/main/python/resource_management/core/logger.py b/ambari-common/src/main/python/resource_management/core/logger.py
index f126f1e..367b24e 100644
--- a/ambari-common/src/main/python/resource_management/core/logger.py
+++ b/ambari-common/src/main/python/resource_management/core/logger.py
@@ -144,4 +144,4 @@ class Logger:
     if arguments_str:
       arguments_str = arguments_str[:-2]
         
-    return unicode("{0} {{{1}}}").format(name, arguments_str)
\ No newline at end of file
+    return unicode("{0} {{{1}}}", 'UTF-8').format(name, arguments_str)
\ No newline at end of file