Apache Drill INTERACTIVE, AD-HOC QUERY AT SCALE Present by Jian - - PowerPoint PPT Presentation

apache drill
SMART_READER_LITE
LIVE PREVIEW

Apache Drill INTERACTIVE, AD-HOC QUERY AT SCALE Present by Jian - - PowerPoint PPT Presentation

Apache Drill INTERACTIVE, AD-HOC QUERY AT SCALE Present by Jian Fang Disclaimer: some slides come from h8p://bit.ly/1c6djHT What is Apache Drill Inspired by Google Dremel


slide-1
SLIDE 1

Apache ¡Drill

INTERACTIVE, ¡AD-­‑HOC ¡QUERY ¡AT ¡SCALE

Present ¡by ¡Jian ¡Fang

Disclaimer: ¡some ¡slides ¡come ¡from ¡h8p://bit.ly/1c6djHT

slide-2
SLIDE 2

What ¡is ¡Apache ¡Drill

Ø Inspired ¡by ¡Google ¡Dremel ¡ Ø InteracCve ¡analysis ¡framework ¡of ¡large-­‑scale ¡datasets ¡ Ø Supports ¡a ¡nested ¡data ¡model ¡ Ø Plug-­‑able ¡data ¡sources ¡ Ø Standard ¡SQL ¡2003 ¡support ¡

Disclaimer: ¡some ¡slides ¡come ¡from ¡h8p://bit.ly/1c6djHT

slide-3
SLIDE 3

Architecture

SQL DrQL

MongoQL

DSL … Query ¡Planner ExecuCon ¡Engine Storage ¡Engine RDBMS HBase MongoDB HDFS Hadoop Cassandra REST CLI

NaCve ¡API

JDBC ODBC Interfaces Processing Data ¡Sources

Disclaimer: ¡some ¡slides ¡come ¡from ¡h8p://bit.ly/1c6djHT

slide-4
SLIDE 4

Architecture

Ø Each ¡Node: ¡Drillbit ¡– ¡maximize ¡data ¡locality ¡ Ø Co-­‑ordinaCon, ¡query ¡planning, ¡execuCon, ¡etc, ¡are ¡distributed ¡ Ø By ¡default ¡Drillbits ¡hold ¡all ¡roles ¡ Ø Any ¡node ¡can ¡act ¡as ¡endpoint ¡for ¡a ¡query ¡ Ø Zookeeper ¡for ¡ephemeral ¡cluster ¡membership ¡info ¡ Ø Distributed ¡cache ¡(Hazelcast) ¡for ¡metadata, ¡locality ¡informaCon, ¡etc.

Drillbit Storage ¡ Process

Distributed ¡Cache

Node

Disclaimer: ¡some ¡slides ¡come ¡from ¡h8p://bit.ly/1c6djHT

slide-5
SLIDE 5

Query ¡ExecuBon

Ø Source ¡query ¡→ Parser ¡API ¡ Ø Custom ¡operators, ¡UDF ¡→ Logical ¡Plan ¡ Ø Serving ¡tree, ¡CF, ¡topology ¡→ Physical ¡Plan/OpCmizer ¡ Ø Data ¡sources ¡& ¡formats ¡→ Scanner ¡API ¡

Disclaimer: ¡some ¡slides ¡come ¡from ¡h8p://bit.ly/1c6djHT

Source ¡ Query Parser Logical ¡ Plan OpCmizer Physical ¡ Plan ExecucCon

slide-6
SLIDE 6

Status

Ø Under ¡development, ¡alpha ¡version ¡ Ø Current ¡available ¡features ¡

Ø Logical ¡Plan ¡ Ø Reference ¡interpreter ¡ Ø Basic ¡SQL ¡parser ¡ Ø Basic ¡demo ¡

Ø More ¡on ¡h8p://incubator.apache.org/drill/index.html

Disclaimer: ¡some ¡slides ¡come ¡from ¡h8p://bit.ly/1c6djHT

slide-7
SLIDE 7

Thanks

Disclaimer: ¡some ¡slides ¡come ¡from ¡h8p://bit.ly/1c6djHT