Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion mongodb-hadoop
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
senior7515  
View profile  
 More options May 3 2012, 6:21 pm
From: senior7515 <gallego.al...@gmail.com>
Date: Thu, 3 May 2012 15:21:11 -0700 (PDT)
Local: Thurs, May 3 2012 6:21 pm
Subject: mongodb-hadoop
I got hadoop 1.0.2 working with mongo-hadoop on ubuntu 12.04LTS
successfully.

Question on the wordcount program.

https://github.com/mongodb/mongo-hadoop/blob/master/examples/wordcoun...

        job.setCombinerClass( IntSumReducer.class );
        job.setReducerClass( IntSumReducer.class );

        job.setOutputKeyClass( Text.class );
        job.setOutputValueClass( IntWritable.class );

        job.setInputFormatClass( MongoInputFormat.class );
        job.setOutputFormatClass( MongoOutputFormat.class );

1. The input class is not defined I think that the input class in java
can be inferred by the query object. (DBObject)
2. Is it customary set the OutputValueClass ( MyCustomClass.class) or
is it more idiomatic to use hadoop's data types?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.