build mongodb and hbase