ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-6851) Language encoding issue while printing failed command in shell.py
Date Wed, 13 Aug 2014 18:00:16 GMT

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

Alejandro Fernandez updated AMBARI-6851:
----------------------------------------

    Summary: Language encoding issue while printing failed command in shell.py  (was: Language
encoding issue in shell.py)

> Language encoding issue while printing failed command in shell.py
> -----------------------------------------------------------------
>
>                 Key: AMBARI-6851
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6851
>             Project: Ambari
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.6.1
>            Reporter: Alejandro Fernandez
>            Assignee: Alejandro Fernandez
>             Fix For: 1.7.0
>
>
> In the agent, when a command exits with a non-zero return code, and the command contains
non-ascii characters, then attempting the print what the command and output was raises in
exception.
> This has been mentioned in the forums,
> http://hortonworks.com/community/forums/topic/cant-restart-cluster-ambari-not-proving-useful/
> The fix is to encode the error message as UTF-8 before attempting to print it to stdout.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message