-Re: No KeyValueTextInputFormat in hadoop-0.20.2?
Ted Yu 2010-06-14, 14:03
Have you checked
On Mon, Jun 14, 2010 at 6:51 AM, Kevin Tse <[EMAIL PROTECTED]> wrote:
> I am upgrading my code from hadoop-0.19.2 to hadoop-0.20.2, during the
> process I found that there was no KeyValueTextInputFormat class which
> in hadoop-0.19.2. It's so strange that this version of hadoop does not come
> with this commonly used InputFormat. I have taken a look at the
> "SecondarySort.java" example code, it uses TextInputFormat and
> StringTokenizer to split each line, it is ok but kinda awkward to me.
> Do I have to implement a new InputFormat myself or there's
> a KeyValueTextInputFormat that exists somewhere I didn't notice?
> Thank you.
> Kevin Tse