Giter VIP home page Giter VIP logo

riak-hadoop's Introduction

Riak-Hadoop

Travis-CI :: https://secure.travis-ci.org/basho/riak-hadoop.png

Riak-Hadoop is a library for using Riak as an input/output to Hadoop Map/Reduce.

NOTE This library is not yet offically supported by Basho and is strictly experimental.

How it works

The library extends InputFormat, InputSplit, RecordReader, OutputFormat and RecordWriter, so you can declare any valid Riak M/R input (2i query, riak search query, list of keys, bucket) as input to a Hadoop M/R job. The library will split the keys into partitions and Hadoop will use the RiakRecordReader to load Key/Value pairs from Riak for the Mapper tasks. The Reducer output is written back to a configured bucket in Riak. It uses the Riak-Java-Client to talk to Riak. You just write a normal Hadoop Map/Reduce job, but declare RiakInputFormat and RiakOutpurFormat as sources/sinks for your data/results.

Example?

Have a look at the Riak Word Count example project to get started with Riak-Hadoop.

Future

I plan to have the library load bulk data from Riak to HDFS to better leverage Hadoop’s integration with that file system. There will be docs.

Feedback

Raise issues, pull requests, comments etc. as ever through GitHub, or the Riak mailing list.

riak-hadoop's People

Contributors

russelldb avatar seancribbs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.