Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> No KeyValueTextInputFormat in hadoop-0.20.2?


Copy link to this message
-
Re: No KeyValueTextInputFormat in hadoop-0.20.2?
Have you checked
src/mapred/org/apache/hadoop/mapred/KeyValueTextInputFormat.java ?

On Mon, Jun 14, 2010 at 6:51 AM, Kevin Tse <[EMAIL PROTECTED]> 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
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB