Re: Deployment of jar files at startup

2010-09-19 Thread Pete Tyler
Thanks David, I've been trying to use DistributedCache as I've had it suggested to me twice but I'm afraid I'm just not getting it. It appears I need to associate my use of DistributedCache.addFileToClassPath() with a specific JobConf instance. If this is the case what does addFileToClassPat

RE: How to create a composite value object for output from Map method

2010-09-19 Thread Christopher.Shain
I think your first approach at serializing is correct, except for the use of ObjectWritable. From the docs, ObjectWritable only handles Strings, Arrays, and primitives. You are trying to use it to serialize your ArrayList. Try converting the ArrayList to an array of Strings first. As for

How to create a composite value object for output from Map method

2010-09-19 Thread Bhaskar Ghosh
Hi All, What would be the right approach to solve this problem: 1. I need to output an object as the value from my map method. The object's class should have two mambers: an ArrayList and another, an integer. I used following two ways, but they are not working: * I wrote a class