It's easy to implement it. You can wrap a List<Text> and size (in type) into VectorWritable, and implements the Writable interface
Jeff Zhang On Sun, Dec 27, 2009 at 8:00 PM, bharath v < [email protected]> wrote: > Hi all , > > I want to emit <key , <list of values>> as map out .. One naive solution is > to use some "Text" object and a "delimiter" .. concatenate everything into > one "Text" object and parse it in the Reducer. Instead I wan't to use > something similar to "VectorWritable" , where I can output a "Vector" as a > map value .. Which of the 2 methods is efficient and any existing > implementations of the second method? > > Any suggestions? > > Thanks. >
