MongoDB-Hdfs alignment

First versione of the script