An example on using Hadoop with MongoDB