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

Switch to Plain View
Hadoop >> mail # user >> puzzled at the output

Copy link to this message
puzzled at the output
Guys, have been stretching my head for the past couple of days.  Why are my tags duplicated while the content they wrap around i.e.my  StringBuilder sb is not?
My Reduce code is:
while (values.hasNext()){
    output.collect(key,new Text("\n<aaa>\n"+sb.toString()+"\n</bbbb>\n" ));

The out put:



NOTICE: This e-mail message and any attachments are confidential, subject to copyright and may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not the intended recipient, please delete and contact the sender immediately. Please consider the environment before printing this e-mail. AVIS : le pr?sent courriel et toute pi?ce jointe qui l'accompagne sont confidentiels, prot?g?s par le droit d'auteur et peuvent ?tre couverts par le secret professionnel. Toute utilisation, copie ou divulgation non autoris?e est interdite. Si vous n'?tes pas le destinataire pr?vu de ce courriel, supprimez-le et contactez imm?diatement l'exp?diteur. Veuillez penser ? l'environnement avant d'imprimer le pr?sent courriel
Harsh J 2012-10-02, 14:03
Kartashov, Andy 2012-10-02, 16:01
Chris Nauroth 2012-10-02, 16:52
Bertrand Dechoux 2012-10-02, 17:01
Mohamed Trad 2012-10-02, 17:35
Bertrand Dechoux 2012-10-02, 14:14