Support Questions
Find answers, ask questions, and share your expertise

What's the difference between Bridge and Hook in atlas?

Explorer

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.

3926-screenshot-from-2016-05-02-17-07-26.png

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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

http://atlas.incubator.apache.org/Bridge-Hive.html

View solution in original post

5 REPLIES 5

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

http://atlas.incubator.apache.org/Bridge-Hive.html

View solution in original post

Explorer

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.

Guru

@Ethan Hsieh

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.

Explorer

The link is invalid. JOAO's link is valid now.

New Contributor

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