I’m trying to import a dataset, which is in a large file (21.1GB json), which has a list of documents. I could import around 75% (15.9GB) of that file and then it gives “error inserting documents: write tcp a.b.c.d:e: write broken pipe”
I tried this 3 times and each time this happened. The command I’m using is as below (connecting to mongos instance);
mongoimport -d dbname -c collectionName --host hostname --file filename -j 4 --batchSize=200 --jsonArray
Has anybody faced the same issue and any recommendations?