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