HBaseCon 2012 | Living Data: Applying Adaptable Schemas to HBase - Aaron Kimball, WibiData
 

Like this? Share it with your network

Share

HBaseCon 2012 | Living Data: Applying Adaptable Schemas to HBase - Aaron Kimball, WibiData

on

  • 1,747 views

HBase application developers face a number of challenges: schema management is performed at the application level, decoupled components of a system can break one another in unexpected ways, ...

HBase application developers face a number of challenges: schema management is performed at the application level, decoupled components of a system can break one another in unexpected ways, less-technical users cannot easily access data, and evolving data collection and analysis needs are difficult to plan for. In this talk, we describe a schema management methodology based on Apache Avro that enables users and applications to share data in HBase in a scalable, evolvable fashion. By adopting these practices, engineers independently using the same data have guarantees on how their applications interact. As data collection needs change, applications are resilient to drift in the underlying data representation. This methodology results in a data dictionary that allows less-technical users to understand what data is available to them for analysis and inspect data using general-purpose tools (for example, export it via Sqoop to an RDBMS). And because of Avro’s cross-language capabilities, HBase’s power can reach new domains, like web apps built in Ruby.

Statistics

Views

Total Views
1,747
Views on SlideShare
1,551
Embed Views
196

Actions

Likes
0
Downloads
85
Comments
0

2 Embeds 196

http://www.cloudera.com 188
http://blog.cloudera.com 8

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

HBaseCon 2012 | Living Data: Applying Adaptable Schemas to HBase - Aaron Kimball, WibiData Presentation Transcript

  • 1. Living Data: Applying Adaptable Schemas to HBaseAaron Kimball – CTO WibiData, Inc.
  • 2. HBase is a nexus for your data
  • 3. HBase: Schema free (unfortunately)• Cells only hold byte arrays• Column names implicitly defined by apps• Each app must (de)serialize values correctly• Changing a schema requires rewriting a column—and updating every reader/writer
  • 4. Datatypes can get rooted in place =
  • 5. Avro: Flexible schemas =
  • 6. Avro decouples schemas
  • 7. Every cell stores its schema (hash)
  • 8. Layout table stores common schemas <column> <name>info:email</name> <description>User email address</description> <schema>“string”</schema> </column>• Data dictionary provides reference to engineers on different projects• Common schemas used by tools that want to enforce a “default” schema for a column (e.g., Sqoop-based exports)
  • 9. Conclusions• Avro allows decoupled applications to: – Share the same data store – Change individual applications without downtime – Eliminates need to structurally modify data• Layout management allows: – Developers to communicate about data without using code – Data-agnostic applications to manipulate structured information
  • 10. www.wibidata.com / @wibidata Aaron Kimball – aaron@wibidata.com