Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Solved Go to solution

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

New Contributor

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

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

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

5 REPLIES 5

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

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

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

New Contributor

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.

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

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.

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

New Contributor

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

Highlighted

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

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