java - Emit a List From Mapper -
I am trying to emit a list from Mapper. Is there a way to leave a list or should I make Please suggest. UPDATE I tried to use it the Arrayable but showing the output as list & lt; String & gt; MapFinalList = New Array's & lt; String & gt; ();
custom writable for my list?
Public static class ListWritable Array {public list ) class); }} List configuration pass list = new listable (); Arrayable [] data = new derivative [dummy. Size ()]; (Int k = 0; k & lt; dummy.size (); k ++) {data [k] = new derivative (dummy to arrays (new string [dummy () ())); } PassList.set (data); Context.write (new text (""), passList);
pck.Driver$ListWritable@75e287e5
string Get out
Comments
Post a Comment