Skip to content
Browse files
AMBARI-24991. Commands timeout if stdout has non-unicode symbols. (ao…
  • Loading branch information
aonishuk committed Dec 4, 2018
1 parent 1bc9d76 commit 17f90987b1aa2b0fbb0bf787200d9148f0d6e785
Showing 1 changed file with 2 additions and 2 deletions.
@@ -336,8 +336,8 @@ def execute_command(self, command):

role_result = self.commandStatuses.generate_report_template(command)
'stdout': command_result['stdout'],
'stderr': command_result['stderr'],
'stdout': unicode(command_result['stdout'], errors='replace'),
'stderr': unicode(command_result['stderr'], errors='replace'),
'exitCode': command_result['exitcode'],
'status': status,

0 comments on commit 17f9098

Please sign in to comment.