airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ace Haidrey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-1239) base_task_runner logging with unicode values on Py27
Date Mon, 14 Aug 2017 22:21:00 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-1239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16126502#comment-16126502
] 

Ace Haidrey commented on AIRFLOW-1239:
--------------------------------------

This JIRA ticket can now be closed [~deckmon]

> base_task_runner logging with unicode values on Py27
> ----------------------------------------------------
>
>                 Key: AIRFLOW-1239
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1239
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: worker
>            Reporter: yanghanbing
>
> Exception in thread Thread-1:
> Traceback (most recent call last):
>   File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
>     self.run()
>   File "/usr/lib64/python2.7/threading.py", line 764, in run
>     self.__target(*self.__args, **self.__kwargs)
>   File "/opt/cloudera-manager/cm-5.5.1/run/cloudera-scm-server/airflow/env/lib/python2.7/site-packages/airflow/task_runner/base_task_runner.py",
line 95, in _read_task_logs
>     self.logger.info('Subtask: {}'.format(line.rstrip('\n')))
> UnicodeEncodeError: 'ascii' codec can't encode characters in position 107-108: ordinal
not in range(128)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message