I thought that is what your input file already was. The KeyValueTextInputFormat should read your input as-is.
When you write out your intermediate values, just make sure that you use TextOutputFormat and put "DIR" as the key and the directory name as the value (same with files). On 12/17/07 6:46 PM, "Jim the Standing Bear" <[EMAIL PROTECTED]> wrote: > With KeyValueTextInputFormat, the problem is not reading it - I know > how to set the separator byte and all that... my problem is with > creating the very first file - I simply don't know how.