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

Masahiro Tanaka updated AMBARI-17940:
-------------------------------------
    Description: 
Sometimes some logs may contain multibyte character because of  LANG settings.
If we see the log via LogSearch Web UI, the messages are garbled. See attached 
screenshot.

The original message is {{WARNING 2016-07-28 14:39:42,184 
CommandStatusDict.py:128 - [Errno 2] そのようなファイルやディレクトリはありません: 
'/var/lib/ambari-agent/data/output-110.txt'}}
It means "No such file or directory"

  was:
Sometimes some logs may contain multibyte character because of  LANG settings.
If we see the log via LogSearch Web UI, the messages are garbled. See attached 
screenshot.


> Multibyte log messages are garbled in LogSearch view
> ----------------------------------------------------
>
>                 Key: AMBARI-17940
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17940
>             Project: Ambari
>          Issue Type: Bug
>          Components: logsearch
>    Affects Versions: 2.4.0
>         Environment: CentOS6.5, Ambari2.4.0 LANG=ja_JP.UTF-8
>            Reporter: Masahiro Tanaka
>            Priority: Minor
>         Attachments: garbled_screenshot.PNG
>
>
> Sometimes some logs may contain multibyte character because of  LANG settings.
> If we see the log via LogSearch Web UI, the messages are garbled. See 
> attached screenshot.
> The original message is {{WARNING 2016-07-28 14:39:42,184 
> CommandStatusDict.py:128 - [Errno 2] そのようなファイルやディレクトリはありません: 
> '/var/lib/ambari-agent/data/output-110.txt'}}
> It means "No such file or directory"



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

Reply via email to