My map function produces a
Key\tValue
Value = List(value1, value2, value3)
then my reduce function produces:
Key\tCSV-Line
Ex.
2323232-2322 fdsfs,sdfs,dfsfs,0,0,0,2,fsda,3,23,3,s,
2323555-22222 dfasd,sdfas,adfs,0,0,2,0,fasafa,2,23,s
Ex. RawData:
232342|@3423@|34343|sfasdfasdF|433443|Sfasfdas|324343
x 1000
Anyway I want to eliminate the key's at the beginning of that so my client can do a straight import into mysql. I have about 50 data files, my question is after it maps them once and the reducer starts does it need the key printed out with the value or can I just print the value?
More information:
Here this code might shine some better light on the situation
this is kinda what I plan to do.