hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-hadoop Wiki] Update of "HadoopMapReduceSecondaryData" by JackHebert
Date Sun, 06 May 2007 19:38:31 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification.

The following page has been changed by JackHebert:
http://wiki.apache.org/lucene-hadoop/HadoopMapReduceSecondaryData

------------------------------------------------------------------------------
  
  Text key = new Text();
  Text value = new Text();
- while (true) {
-     reader.next(key, value);
+ while (reader.next(key, value)) {
+ 
-     if (key.toString().equals(""))
-         break;
      // Do something useful with the data.
+ 
  }		
  }}}
  

Mime
View raw message