Professional Documents
Culture Documents
Tugdual Grall
Technical Evangelist
@tgrall @ApacheDrill
Sept. 29, 2015 © 2015 MapR Technologies‹#›
© 2015 MapR Technologies
{“about” : “me”}
Tugdual “Tug” Grall • Web
• MapR
• @tgrall
• Technical Evangelist
• MongoDB
• http://tgrall.github.io
• Technical Evangelist • tgrall
• Couchbase
• Technical Evangelist • NantesJUG co-founder
• eXo
• CTO • Pet Project :
• Oracle • http://www.resultri.com
• Developer/Product Manager • tug@mapr.com
• Mainly Java/SOA • tugdual@gmail.com
• Developer in consulting firms
Database
Fixed schema Dynamic / Flexible schema
DBA controls structure Application controls structure
Data
Traditional Data Transformati
Hadoop data movement Users
modeling on
approach (optional)
Exploratory
Hadoop data Users
approach
Workspace Table
- Sub-directory - Pathnames
- HBase namespace - Hive table
- Hive database - HBase table
Flexibility
preschool: CCLC
}
{
"votes": {"funny": 0, "useful": 2, "cool": 1},
"user_id": "Xqd0DzHaiyRqVH3WRG7hzg",
"review_id": "15SdjuK7DmYqUAj6rjGowg",
"stars": 5,
"date": "2007-05-17",
"text": "dr. goldberg offers everything ...",
"type": "review",
"business_id": "vcNAWiLM4dR7D2nwwJ7nCA"
}
+------------+------------+------------+------------+
| name | stars | friday | categories |
+------------+------------+------------+------------+
| Olives | 4.0 | {"close":"22:30","open":"11:00"} |
["Mediterranean","Restaurants"] |
| Marrakech Moroccan Restaurant | 4.0 | {"close":"23:00","open":"17:30"} |
["Mediterranean","Middle Eastern","Moroccan","Restaurants"] |
+------------+------------+------------+------------+
@tgrall © 2015 MapR Technologies ‹#›
ANSI SQL Compatibility
//Get top cool rated businesses
+------------+------------+
| ok | summary |
+------------+------------+
| true | View 'BusinessReviews' created successfully in 'dfs.tmp' schema |
+------------+------------+
+------------+------------+
| category | categorycount|
+------------+------------+
| Restaurants | 14303 |
…
| Australian | 1 |
| Boat Dealers | 1 |
| Firewood | 1 |
+------------+------------+
+------------------------+
| SundayMidnightCheckins |
+------------------------+
| 8575 |
+------------------------+
+-----------+--------------+------------+
| name | category | nb_review |
+-----------+--------------+------------+
| Rand | Restaurants | 1086 |
| J | Restaurants | 661 |
| Jennifer | Restaurants | 657 |
… … … … …
mongod mongod
MongoDB cluster Windows
HDFS HDFS HDFS
HDFS cluster
Client
Owner Owner
Admins Admins
Permission Permission
Business Data
Analysts Scientists
Ask questions
– user@drill.apache.org
– dev@drill.apache.com
@tgrall maprtech
mapr-technologies MapR
tug@mapr.com maprtech