Hive 基础介绍
来源:互联网 发布:男朋友要我穿丝袜知乎 编辑:程序博客网 时间:2024/05/29 16:26
1. Architecture of Hive
2.how hive works
Step No. Operation
1
Execute Query
The Hive interface such as Command Line or Web UI sends query to Driver (any database driver such as JDBC, ODBC, etc.) to execute.
2
Get Plan
The driver takes the help of query compiler that parses the query to check the syntax and query plan or the requirement of query.
3
Get Metadata
The compiler sends metadata request to Metastore (any database).
4
Send Metadata
Metastore sends metadata as a response to the compiler.
5
Send Plan
The compiler checks the requirement and resends the plan to the driver. Up to here, the parsing and compiling of a query is complete.
6
Execute Plan
The driver sends the execute plan to the execution engine.
7
Execute Job
Internally, the process of execution job is a MapReduce job. The execution engine sends the job to JobTracker, which is in Name node and it assigns this job to TaskTracker, which is in Data node. Here, the query executes MapReduce job.
7.1
Metadata Ops
Meanwhile in execution, the execution engine can execute metadata operations with Metastore.
8
Fetch Result
The execution engine receives the results from Data nodes.
9
Send Results
The execution engine sends those resultant values to the driver.
10
Send Results
The driver sends the results to Hive Interfaces.
- Hive 基础介绍
- 【hive】hive介绍
- hive介绍
- hive 介绍
- hive 介绍
- Hive介绍
- Hive介绍
- hive介绍
- hive介绍
- Hive介绍
- HIVE 介绍
- hive介绍
- Hive 介绍
- hive基础
- Hive基础
- hive基础
- Hive基础
- Hive 基础
- jdbc动态加载jar包连接mysql和hive
- C++的粗略学习
- -Java-泛型
- 欢迎使用CSDN-markdown编辑器
- HNUST 1696: 简单验证码识别。
- Hive 基础介绍
- linux和windows文件大小写问题
- python访问mysql数据库
- MongoDB安装为service报错100(windows系统)
- 手把手教你如何玩转Spring
- [Leetcode]Single Number
- [FreeBSD] 安全加固
- 动态规划
- Spring MVC 参数包含中文会导致乱码的额问题,解决方案