Big Data/BI Zone is brought to you in partnership with:

Eric is a Content Curator with DZone, living in Chapel Hill, NC. By night, he writes and edits science fiction. On weekends, he spends too much time making plumbers hop on things. Eric is a DZone MVB and is not an employee of DZone and has posted 220 posts at DZone. You can read more from them at their website. View Full User Profile

High-Level Architecture for HDFS Slurper V2

01.27.2013
| 1301 views |
  • submit to reddit

The current HDFS Slurper was created as part of writing “Hadoop in Practice,” and it just so happened that it also happened to fulfill a need that we had at work. The one-sentence description of the Slurper is that it’s a utility that copies files between Hadoop file systems. It’s particularly useful in situations where you want to automate moving files from local disk to HDFS, and vice-versa.

While it has worked well for us, with the addition of a few choice features it could be even more useful:

  • Filter and projection, to remove or reduce data from input files
  • Write to multiple output files from a single input file
  • Keep source files intact

As such I have come up with a high-level architecture for what v2 may look like (subject to change of course).

Slurper v2 architecture

Reference: http://grepalex.com/2012/08/20/slurper-v2/