getClient(getInputUri()).getDB("config").getCollection("settings").update(new BasicDBObject("_id", "balancer"),
new BasicDBObject("$set", new BasicDBObject("stopped", true)),
false,
true);
adminDB.command(new BasicDBObject("shardCollection", "mongo_hadoop.yield_historical.in")
.append("key", new BasicDBObject("_id", 1)));
DBCollection historicalIn = getClient(getInputUri()).getDB("mongo_hadoop").getCollection("yield_historical.in");
for (int chunkpos : new int[]{2000, 3000, 1000, 500, 4000, 750, 250, 100, 3500, 2500, 2250, 1750}) {