AW: ClassCastException on running map-reduce jobs + tests on Windows (mongo-hadoop)

2014-09-18 Thread Blanca Hernandez
Thanks, I made the changes and everything works fine!! Many thanks!! Now I am having problems converting BSONWritable to BSONObject and vice versa. Is there an automatic way to make it? Or should I write myself a parse? And regarding the tests on windows, any experience? Thanks again!! Best

AW: ClassCastException on running map-reduce jobs + tests on Windows (mongo-hadoop)

2014-09-18 Thread Blanca Hernandez
Thanks a millio for your support! Von: Shahab Yunus [mailto:shahab.yu...@gmail.com] Gesendet: Donnerstag, 18. September 2014 13:40 An: user@hadoop.apache.org Betreff: Re: ClassCastException on running map-reduce jobs + tests on Windows (mongo-hadoop) You will have to convert BSONWritable to

AW: ClassCastException on running map-reduce jobs + tests on Windows (mongo-hadoop)

2014-09-17 Thread Blanca Hernandez
Hi again, I changed the String objects with org.apache.hadoop.io.Text objects (why is String not accepted?), and now I get another exception, so I donĀ“t really know if I solved something or I broke something: java.lang.Exception: java.lang.NullPointerException at

AW: ClassCastException on running map-reduce jobs + tests on Windows (mongo-hadoop)

2014-09-17 Thread Blanca Hernandez
Thanks for answering: hadoop jar /tmp/hadoop-test.jar at.willhaben.hadoop.AveragePriceCalculationJob In the AveragePriceCalculationJob I have my configuration: private static class AveragePriceCalculationJob extends MongoTool { private AveragePriceCalculationJob(AveragePriceNode