Mongo DB: Unable to create a sharding cluster in Ubuntu
问题 I have installed MongoDB using http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ in my Ubuntu machine and the mongo instance is working fine. I am able to do CRUD operations in the instance. I also installed the MonjaDB eclipse plugin and am able to see all databases/collections/documents in it. Now, I want to create a sharded cluster in my machine. I am trying to create this way: cluster = new ShardingTest({"shards" : 3, "chunksize" : 1}) It is giving the following error: