Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hadoop, mail # user - Simple change to WordCount either times out or runs 18+ hrs with little progress


+
Maryanne.DellaSalla@... 2011-05-24, 14:29
Copy link to this message
-
Re: Simple change to WordCount either times out or runs 18+ hrs with little progress
Ted Dunning 2011-05-24, 16:24
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++;
>      }
>
+
Maryanne.DellaSalla@... 2011-05-24, 17:29