Re: ArrayWritable Doesn't Write

2011-07-18 Thread Joey Echeverria
ArrayWritables can't be deserialized because they don't encode the type of the objects with the data. The solution is to sub-class ArrayWritable with your specific type. In your case, you'd need to do this: public class IntArraryWritable { public IntArrayWritable() { super(IntWritable.class

ArrayWritable Doesn't Write

2011-07-18 Thread Geoffry Roberts
All, For the first time I have tried to use the class ArrayWritable. All goes well enough until the Reducer tries to do a write. Then, I get the following exception: java.lang.RuntimeException: java.lang.NoSuchMethodException: org.apache.hadoop.io.ArrayWritable.() ... >From the reducer, the re