On Thu, Oct 15, 2009 at 11:30 AM, Something Something < [email protected]> wrote:
> 1) I don't think TableInputFormat is useful in this case. Looks like it's > used for scanning columns from a single HTable. > 2) TableMapReduceUtil - same problem. Seems like this works with just one > table. > 3) JV recommended NLineInputFormat, but my parameters are not in a file. > They come from multiple files and are in memory. > > I guess what I am looking for is something like... InMemoryInputFormat... > similar to FileInputFormat & DbInputFormat. There's no such class right > now. > > Worse comes to worst, I can write the parameters into a flat file, and use > FileInputFormat - but that will slow down this process considerably. Is > there no other way? > > So you need to pull input from multiple tables at once? Are you expecting to do a join on these tables? If you explain what the data looks like, we'd understand better. What are your tables, and what would you like to treat as a single input record?
