DBOutputFormat - Communications link failure

2009-04-14 Thread Streckfus, William [USA]
Hey guys, I'm trying my hand at outputting into a MySQL table but I'm running into a Communications link failure during the reduce (in the getRecordReader() method of DBOutputFormat to be more specific). Google tells me this seems to happen when a SQL server drops the client (usually after a

RE: DBOutputFormat - Communications link failure

2009-04-14 Thread Streckfus, William [USA]
Responding to this for archiving purposes... After being stuck for a couple hours I then realized that localhost meant a different machine as it ran on different reducers :). Thus, replacing that with the IP address did the trick. -Original Message- From: Streckfus, William [USA

Grouping Values for Reducer Input

2009-04-13 Thread Streckfus, William [USA]
Hi Everyone, I'm working on a relatively simple MapReduce job with a slight complication with regards to the ordering of my key/values heading into the reducer. The output from the mapper might be something like cat - doc5, 1 cat - doc1, 1 cat - doc5, 3 ... Here, 'cat' is my key and the