MapReduce: How can I output key/value pair without newlines?
问题 I am using a 0 reduce approach to my problem. I wish to preprocess data from one file and then to write it out as another file, but with no new lines and tab delimeters? How can I output my map job that has processed my data with the same file format it came in minus the preprocess. That is, I have something like this: Preprocess: <TITLE> Herp derp </Title> I am a major general Post Process: Herp Derp I am a major general What I want it to do is this: Herp Derp I am a major general I believe