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 >> Simple change to WordCount either times out or runs 18+ hrs with little progress


Copy link to this message
-
Re: Simple change to WordCount either times out or runs 18+ hrs with little progress
itr.nextToken() is inside the if.

On Tue, May 24, 2011 at 7:29 AM, <[EMAIL PROTECTED]> wrote:

>    while (itr.hasMoreTokens()) {
>        if(count == 5)
>        {
>                word.set(itr.nextToken());
>                output.collect(word, one);
>        }
>        count++;
>      }
>
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