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/06/21 16:32:53 UTC

[GitHub] [airflow] jzucker2 commented on issue #5452: [AIRFLOW-4829] More descriptive exceptions for EMR sensors

jzucker2 commented on issue #5452: [AIRFLOW-4829] More descriptive exceptions for EMR sensors
URL: https://github.com/apache/airflow/pull/5452#issuecomment-504488976
 
 
   @ashb something like this:
   
   ```
   [2019-06-20 22:25:05,633] {caravan_emr_base_sensor.py:33} INFO - Job flow currently TERMINATED_WITH_ERRORS
   [2019-06-20 22:25:05,648] {__init__.py:1580} ERROR - ('EMR job failed for %s', 'Failed for code: BOOTSTRAP_FAILURE with message Master instance (i-0663047709b82346c) failed attempting to download bootstrap action 1 file from S3')
   Traceback (most recent call last):
     File "/usr/local/lib/python2.7/dist-packages/airflow/models/__init__.py", line 1441, in _run_raw_task
       result = task_copy.execute(context=context)
     File "/usr/local/lib/python2.7/dist-packages/airflow/sensors/base_sensor_operator.py", line 108, in execute
       while not self.poke(context):
     File "/usr/local/lib/python2.7/dist-packages/airflow/sensors/emr_base_sensor.py", line 39, in poke
       raise AirflowException('EMR job failed for %s', self.failure_message_from_response(response))
   AirflowException: ('EMR job failed for %s', 'Failed for code: BOOTSTRAP_FAILURE with message Master instance (i-0663047709b82346c) failed attempting to download bootstrap action 1 file from S3')
   ```

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