• What license is this library made available under?

    This software is licensed under the Apache Software License 2.0. A file named LICENSE.txt should have been included with the software.

  • Why use this library over direct interaction with HDFS?

    HDFS provides byte-oriented input and output streams. Most developers prefer to think in terms of higher level objects than files and directories, and frequently graft concepts of “tables” or “datasets” on to data stored in HDFS. This library aims to give you that, out of the box, in a pleasant format that works with the rest of the ecosystem, while still giving you efficient access to your data.

    Further, we’ve found that picking from the myriad of file formats and compression options is a weird place from which to start one’s Hadoop journey. Rather than say “it depends,” and lead developers through a decision tree, we decided to create a set of APIs that does what you ultimately want some high percentage of the time. For the rest of the time, well, feature requests are happily accepted (double karma if they come with patches)!

  • What happened to CDK?

    CDK has been renamed to Kite, this project. The main goal of Kite is to increase the accessibility of Apache Hadoop as a platform. This isn’t specific to Cloudera, so we updated the name to correctly represent the project as an open, community-driven set of tools.

  • What format is my data stored in?

    Data is stored using either Avro, for record-oriented storage, or Parquet, for column-oriented storage.

    Avro files are snappy-compressed and encoded using Avro’s binary encoder, according to Avro’s object container file spec. Avro meets the criteria for sane storage and operation of data. Specifically, Avro:

    • has a binary representation that is compact.
    • is language agnostic.
    • supports compression of data.
    • is splittable by MapReduce jobs, including when compressed.
    • is self-describing.
    • is fast to serialize/deserialize.
    • is well-supported within the Hadoop ecosystem.
    • is open source under a permissive license.

    Parquet files are also compressed, binary-encoded files for efficient column-oriented data patterns, defined by the parquet file specification.

  • Why not store data as protocol buffers?

    Protos do not define a standard for storing a set of protocol buffer encoded records in a file that supports compression and is also splittable by MapReduce.

  • Why not store data as thrift?

    See Why not protocol buffers?

  • Why not store data as Java serialization?

    See https://github.com/eishay/jvm-serializers/wiki. In other words, because it’s terrible.

  • Can I contribute code/docs/examples?

    Absolutely! You’re encouraged to read the How to Contribute docs included with the source code. In short, you must:

    • Be able to (legally) complete, sign, and return a contributor license agreement.
    • Follow the existing style and standards.

Back to top

Version: 0.13.0. Last Published: 2014-04-23.

Reflow Maven skin by Andrius Velykis.