hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: No KeyValueTextInputFormat in hadoop-0.20.2?
Date Mon, 14 Jun 2010 14:03:47 GMT
Have you checked
src/mapred/org/apache/hadoop/mapred/KeyValueTextInputFormat.java ?

On Mon, Jun 14, 2010 at 6:51 AM, Kevin Tse <kevintse.onjee@gmail.com> wrote:

> Hi,
> 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
> exists
> 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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message