Created on 05-03-2016 07:11 AM - edited 08-19-2019 03:02 AM
I can not understand the difference between Bridge and Hook completely.
I think they are similar and they both are the middleware between Atlas and Other components.
And I also watch a video on youtube which shows that they are not completely same.
From this screenshot, the Hive Bridge seems relative with Client, and the Hive Hook seems relative with Post execution?
Could anyone tell me what's the difference between Bridge and Hook specifically? And What situation I should use Bridge? What situation I should use Hook?
Thank you very much.
Created 05-03-2016 07:22 AM
Hello Ethan
the difference is mainly batch and realtime. By this I mean the bridge will actually import all existing data and actually metadata from the Hive metastore, so all prexisiting tables and definitions, where the hook will actually listen in real time to events happening in Hive. The Atlas documentation explains this here if you want a more detailled explanation
Created 05-03-2016 07:22 AM
Hello Ethan
the difference is mainly batch and realtime. By this I mean the bridge will actually import all existing data and actually metadata from the Hive metastore, so all prexisiting tables and definitions, where the hook will actually listen in real time to events happening in Hive. The Atlas documentation explains this here if you want a more detailled explanation
Created 05-06-2016 12:38 AM
Thank you very much.
Could you leave your email address? So I can send email to you if I have some questions in the future.
Created 05-06-2016 12:48 AM
Please click on accept on the answer if it answered your question, so it will be helpful for others. Your best bet is to ask your question here rather than on email since there are multiple folks answering questions on the forum.
Created 03-27-2019 12:46 AM
The link is invalid. JOAO's link is valid now.
Created 02-02-2019 03:05 PM
The link mentioned in the accepted response is broken. I've found the requested information in the following wiki:
https://cwiki.apache.org/confluence/display/ATLAS/Atlas+Bridges+and+Hooks