Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

How does data flow to hive client

avatar
New Member

Hello,

I have hive client installed on my Linux machine, If I issue a query , would output data of the query flow directly from data nodes to my machine or would it go to hive server ( it's installed on a node other than the data nodes ) and then arrive at my machine?

Thanks in advance.

1 ACCEPTED SOLUTION

avatar
2 REPLIES 2

avatar

avatar

Depending on the client the data flow from the query works differently. In case of using Hive CLI, you access the HDFS directly to get the data, and Hive Metastore for table metadata. In case of HiveServer2 client (ex Beeline CLI) all data transmission happens through HiveServer2. HiveServer2 is recommended from security and scalability perspective.