You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/04/16 16:06:53 UTC

[GitHub] [airflow] ashb commented on a change in pull request #5048: [AIRFLOW-3370] Add stdout output options to Elasticsearch task log handler

ashb commented on a change in pull request #5048: [AIRFLOW-3370] Add stdout output options to Elasticsearch task log handler
URL: https://github.com/apache/airflow/pull/5048#discussion_r275876137
 
 

 ##########
 File path: airflow/utils/log/es_task_handler.py
 ##########
 @@ -101,7 +124,11 @@ def _read(self, ti, try_number, metadata=None):
 
         next_offset = offset if not logs else logs[-1].offset
 
-        metadata['offset'] = next_offset
+        # Ensure a string here. Large offset numbers will get JSON.parsed incorretly
 
 Review comment:
   ```suggestion
           # Ensure a string here. Large offset numbers will get JSON.parsed incorrectly
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services