You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Alejandro Fernandez (JIRA)" <ji...@apache.org> on 2014/09/17 20:27:35 UTC

[jira] [Resolved] (AMBARI-6851) Language encoding issue while printing failed command in shell.py

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

Alejandro Fernandez resolved AMBARI-6851.
-----------------------------------------
    Resolution: Cannot Reproduce

This was likely a side effect of an issue that has already been fixed since could not reproduce it.

> 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: ambari-web
>    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.3.4#6332)