-
Recent Posts
Popular Posts
- Rent or Own: Amazon EC2 vs. Colocation Comparison for Hadoop Clusters 27 comment(s) | 10890 view(s)
- Mysql Replication Adapter 26 comment(s) | 6700 view(s)
- Making sure Ruby Daemons die 20 comment(s) | 7401 view(s)
- Matching Impedance: When to use HBase 19 comment(s) | 22421 view(s)
- Goodbye MapReduce, Hello Cascading 17 comment(s) | 9748 view(s)
- Rapleaf Challenge Problem 12 comment(s) | 3824 view(s)
- BloomFilter 11 comment(s) | 5483 view(s)
- Using random numbers in Hadoop MapReduce is dangerous 11 comment(s) | 4057 view(s)
- Ruby and HBase 10 comment(s) | 5294 view(s)
- Cycles of Doom in Batch Processing Workflows 10 comment(s) | 2678 view(s)
Categories
- Anonymouse (2)
- Apache (1)
- bash (1)
- Cascading (6)
- Daemons (1)
- encryption (1)
- Extensions (2)
- Google (1)
- Grub (1)
- Hadoop (22)
- HBase (6)
- HDFS (4)
- Kickstart (1)
- MapReduce (9)
- mcrypt (1)
- Miscellaneous (26)
- Mongrel (2)
- Mysql (2)
- OpenSocial (1)
- Operations (1)
- Ruby (7)
- Security (2)
- Thrift (6)
- Xen (1)
Archives
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- March 2009
- February 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
Author Archives: Nathan Marz
Dead Simple MapReduce Workflow Configuration
If you use MapReduce for any real-world application, chances are your workflow consists of more than one MapReduce job. Rapleaf has workflows consisting of over one hundred jobs. A lot of times, you need to make configurations to the workflow that should apply to every job. For example, you may want each job to run [...]
Evaluating a Predictive Model
We often try to correlate our data with various consumer behaviors, such as paying back loans or completing a transaction. To do this we produce models that emit the probability of the person doing the behavior. In this post, I’ll describe a technique we use for evaluating the performance of our predictive models.
There are two [...]
Posted in Miscellaneous 6 Comments
Consistent Sampling using Hash Function
I learned this technique in a lecture I saw by Ron Kohavi. The idea is that we want to create a random sample but we want to make sure that if a value appears multiple times, it is either always sampled or never sampled. Let’s look at a specific example – let’s say we have [...]
Posted in Miscellaneous Leave a comment
Using random numbers in Hadoop MapReduce is dangerous
If you’re using random numbers in your MapReduce jobs, you could be suffering from data loss.
The cause of the data loss is subtle and happens due to Hadoop’s behavior in dealing with TaskTrackers that are lost in the middle of a job. Let’s go through an example of how the data loss can occur.
Let’s take [...]
Posted in Hadoop, MapReduce 11 Comments
A Glance at the Hadoop Failure Model
Hadoop is designed to be a fault tolerant system. Jobs should be resilient to nodes going down and other random failures. Hadoop isn’t perfect however, as I still see jobs failing due to random causes every now and again. I decided to investigate the significance of the different factors that play into a job failing.
A [...]
A new Cascading pipe – MultiGroupBy
Cascading is an awesome tool, but there’s a particular situation I have run into a few times where the abstractions have broken down. The situation occurs when you have multiple pipes that you need to group together on a common key, but other than the key the pipes have different fields. Let’s use the following [...]
Rapleaf Challenge Problem
We’ve created a challenge problem based on one of the core problems we’ve had to solve in our MapReduce workflow. A word of warning – this isn’t one of those toy problems other companies put out on their careers page. This one is so hard it will make you cry.
Rapleaf Challenge Problem
Posted in Hadoop, Miscellaneous 12 Comments
Give me liberty or give me death, but don’t give me small files!
Small files are the bane of Hadoop MapReduce. 300GB of data kept in a few files versus thousands of files can cause a 100x performance difference in jobs run over that data. For this reason, it is of paramount importance to keep files on HDFS large.
There are many reasons for this. With larger files, input [...]
Posted in Hadoop, MapReduce 3 Comments

Cycles of Doom in Batch Processing Workflows