Repository navigation
[AIRFLOW-2310] Enable AWS Glue Job Integration - #6007
Conversation
|
I wanted to work on Airflow Glue sensor and operator that wasnt ther on Airflow itself, So i s=found it on the fork of airflow (https://github.com/OElesin/incubator-airflow) and tried the glue sensor/hook/operator and they weren't working properly so i have fixed and have submiited this pull request(#6007) |
|
tag
|
|
Can you rebase commits and resolve conflicts, please? I don't have much exp in AWS. but other committers can take a look @ashb |
|
@abdulbasitds you also have many examples on stackoverflow |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
Sorry if this is waiting on me for some reason, but I can't promise to follow-up on review comments and would rather wait for a rebase if/when I do. Just adding this comment to mess with the stale bot. |
|
Hi, been watching this operator for a while. Is there anything I can help to speed up this a bit? Keen to use it without having to copy and paste. |
|
I was asked to "rebase commits and resolve conflicts" , Since I get time to see what is needed to be done on my side, I think it is pending on me. If anyone can do that at their end, I think we can have this operator finally. |
|
Let me guide you on this @abdulbasitds -> I think it is great to learn how to rebase in git :). I will soon put that into contributor's documentation (this is a common question - how to rebase) but I'd love if you tell me it is descriptive enough/easy to follow: First of all - you can read about rebase workflow here: https://www.atlassian.com/git/tutorials/merging-vs-rebasing - this is an excellent article that describes all ins/outs of rebase. I recommend reading it and keeping it as reference. The goal of rebasing your PR on top of Here is how rebase looks in practice:
|
|
Please let me know @abdulbasitds if it's helpful/easy to follow - I will make a PR to CONTRIBUTING.rst now but if you have any questions/comments - feel free to ask |
|
@abdulbasitds - "How to Rebase" chapter is now merged in the main CONTRIBUTING documentation of Apache Airflow: https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#how-to-rebase-pr |
|
Thanks @potiuk , I did a rebase on my local branch https://github.com/letianw91/incubator-airflow/commits/glue-rebase, and there is little more than resolving some conflicts in docs. It would be preferable if the author can do the rebase by himself, as the logistics will be much easier. The process can be done in around 10 minutes. However, please do note that after the rebase, there are still some issues:
|
|
@potiuk thank you for writing the details about the rebase, it seems very helpful. I will try it tommorow and will let you know |
|
@abdulbasitds I would still like to see this addressed in your code. 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. |
@paulsyl I catered this in the sensor, can you please see the latest commit and if looks okay than may be we can replicate that into hook? |
@abdulbasitds |
@paulsyl I think you are confusing sensor with the hook, sensor is used to poke about the status of the Job. |
|
Errors: |
|
The rest LGTM. I personally like to document consistenly all public methods via ..but I think it is fine for now :) |
|
So @kaxil go ahead and merge it after the flake8 issue has been fixed. |
|
@abdulbasitds FYI: |
Okay thanks, should I do |
|
Awesome work, congrats on your first merged pull request! |
|
@abdulbasitds great work |
Original PR: #4068 (Author: @oelesinsc24)
Make sure you have checked all steps below.
Jira
Description
Tests
Commits
Documentation