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 Plain View
Hadoop >> mail # user >> Simply reading small a hadoop text file.


+
Jay Vyas 2012-07-14, 00:30
+
Harsh J 2012-07-14, 02:18
Copy link to this message
-
Re: Simply reading small a hadoop text file.
The tab is default separated

And text file is the default input format

Just simple map -reduce job will do it

Regards,
Serge

On 7/13/12 5:30 PM, "Jay Vyas" <[EMAIL PROTECTED]> wrote:

>Hi guys : Whats the idiomatic way to iterate through the k/v pairs in a
>text file ? been playing with almost everything everything with
>SequenceFiles and almost forgot :)
>
>my text output actually has tabs in it... So, im not sure what the default
>separator is, and wehter or not there is a smart way to find the value.
>
>--
>Jay Vyas
>MMSB/UCHC
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