paulsyl commented on pull request #6007: URL: https://github.com/apache/airflow/pull/6007#issuecomment-626630654
@abdulbasitds I would still like to see this addressed in your code. https://github.com/apache/airflow/pull/6007#issuecomment-610833368 TIMEOUT is a very valid issue with Glue and this will keep airflow running indefinitely. Additionally, I think good practice would be to return the 'ERROR_MESSAGE' to Airflow upon a failure state. The response is only available when a Glue job has FAILED. ``` if job_run_state == 'FAILED': self.log.info("JOB ERROR: %s", job_status['JobRun']['ErrorMessage']) raise AirflowException(job_message) ``` ---------------------------------------------------------------- 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: [email protected]
