Mongo Import ./mongoimport -d mymongo -c MyMongo --type csv --file /tmp/city2.csv --fields auto_id,id,name,ascii_name,alternate_names,lat,lon,feature_class,feature_code,country_code,country_code2,admin1_code,admin2_code,admin3_code,admin4_code,population,elevation,dem,timezone,mod_date,insert_time connected to: 127.0.0.1 Tue Apr 22 06:29:35.004 Progress: 10643552/226191246 4% Tue Apr 22 06:29:35.004 66000 22000/second Tue Apr 22 06:29:36.317 Assertion: 10334:BSONObj size: 22587586 (0xC2A85801) is invalid. Size must be between 0 and 16793600(16MB) First element: auto_id: 96043 0xde4941 0xda788b 0xda7dcc 0x6d4c64 0x6d86d5 0x6d9f17 0xda0e08 0x6cc8a7 0x7f64cac1e76d 0x6cc729 ./mongoimport(_ZN5mongo15printStackTraceERSo+0x21) [0xde4941] ./mongoimport(_ZN5mongo11msgassertedEiPKc+0x9b) [0xda788b] ./mongoimport() [0xda7dcc] ./mongoimport(_ZNK5mongo7BSONObj14_assertInvalidEv+0x5c4) [0x6d4c64] ./mongoimport(_ZN6Import8parseRowEPSiRN5mongo7BSONObjERi+0xaf5) [0x6d86d5] ./mongoimport(_ZN6Import3runEv+0x12a7) [0x6d9f17] ./mongoimport(_ZN5mongo4Tool4mainEiPPc+0x13d8) [0xda0e08] ./mongoimport(main+0x37) [0x6cc8a7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f64cac1e76d] ./mongoimport(__gxx_personality_v0+0x461) [0x6cc729] Tue Apr 22 06:29:36.320 exception:BSONObj size: 22587586 (0xC2A85801) is invalid. Size must be between 0 and 16793600(16MB) First element: auto_id: 96043 Tue Apr 22 06:29:36.320 Tue Apr 22 06:29:38.003 Progress: 46282397/226191246 20% Tue Apr 22 06:29:38.003 147299 24549/second Tue Apr 22 06:29:41.047 Progress: 60434721/226191246 26% Tue Apr 22 06:29:41.047 234499 26055/second Tue Apr 22 06:29:41.340 Assertion: 10334:BSONObj size: 22591542 (0x36B85801) is invalid. Size must be between 0 and 16793600(16MB) First element: auto_id: 374283 0xde4941 0xda788b 0xda7dcc 0x6d4c64 0x6d86d5 0x6d9f17 0xda0e08 0x6cc8a7 0x7f64cac1e76d 0x6cc729 ./mongoimport(_ZN5mongo15printStackTraceERSo+0x21) [0xde4941] ./mongoimport(_ZN5mongo11msgassertedEiPKc+0x9b) [0xda788b] ./mongoimport() [0xda7dcc] ./mongoimport(_ZNK5mongo7BSONObj14_assertInvalidEv+0x5c4) [0x6d4c64] ./mongoimport(_ZN6Import8parseRowEPSiRN5mongo7BSONObjERi+0xaf5) [0x6d86d5] ./mongoimport(_ZN6Import3runEv+0x12a7) [0x6d9f17] ./mongoimport(_ZN5mongo4Tool4mainEiPPc+0x13d8) [0xda0e08] ./mongoimport(main+0x37) [0x6cc8a7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f64cac1e76d] ./mongoimport(__gxx_personality_v0+0x461) [0x6cc729] Tue Apr 22 06:29:41.343 exception:BSONObj size: 22591542 (0x36B85801) is invalid. Size must be between 0 and 16793600(16MB) First element: auto_id: 374283 Tue Apr 22 06:29:41.343 Tue Apr 22 06:29:44.003 Progress: 96043232/226191246 42% Tue Apr 22 06:29:44.004 315798 26316/second Tue Apr 22 06:29:46.270 Assertion: 10334:BSONObj size: 22591542 (0x36B85801) is invalid. Size must be between 0 and 16793600(16MB) First element: auto_id: 652523 0xde4941 0xda788b 0xda7dcc 0x6d4c64 0x6d86d5 0x6d9f17 0xda0e08 0x6cc8a7 0x7f64cac1e76d 0x6cc729 ./mongoimport(_ZN5mongo15printStackTraceERSo+0x21) [0xde4941] ./mongoimport(_ZN5mongo11msgassertedEiPKc+0x9b) [0xda788b] ./mongoimport() [0xda7dcc] ./mongoimport(_ZNK5mongo7BSONObj14_assertInvalidEv+0x5c4) [0x6d4c64] ./mongoimport(_ZN6Import8parseRowEPSiRN5mongo7BSONObjERi+0xaf5) [0x6d86d5] ./mongoimport(_ZN6Import3runEv+0x12a7) [0x6d9f17] ./mongoimport(_ZN5mongo4Tool4mainEiPPc+0x13d8) [0xda0e08] ./mongoimport(main+0x37) [0x6cc8a7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f64cac1e76d] ./mongoimport(__gxx_personality_v0+0x461) [0x6cc729] Tue Apr 22 06:29:46.273 exception:BSONObj size: 22591542 (0x36B85801) is invalid. Size must be between 0 and 16793600(16MB) First element: auto_id: 652523 Tue Apr 22 06:29:46.273 Tue Apr 22 06:29:47.016 Progress: 132098535/226191246 58% Tue Apr 22 06:29:47.016 399697 26646/second Tue Apr 22 06:29:50.004 Progress: 146297885/226191246 64% Tue Apr 22 06:29:50.004 486797 27044/second Tue Apr 22 06:29:51.218 Assertion: 10334:BSONObj size: 22661426 (0x32C95901) is invalid. Size must be between 0 and 16793600(16MB) First element: auto_id: 930763 0xde4941 0xda788b 0xda7dcc 0x6d4c64 0x6d86d5 0x6d9f17 0xda0e08 0x6cc8a7 0x7f64cac1e76d 0x6cc729 ./mongoimport(_ZN5mongo15printStackTraceERSo+0x21) [0xde4941] ./mongoimport(_ZN5mongo11msgassertedEiPKc+0x9b) [0xda788b] ./mongoimport() [0xda7dcc] ./mongoimport(_ZNK5mongo7BSONObj14_assertInvalidEv+0x5c4) [0x6d4c64] ./mongoimport(_ZN6Import8parseRowEPSiRN5mongo7BSONObjERi+0xaf5) [0x6d86d5] ./mongoimport(_ZN6Import3runEv+0x12a7) [0x6d9f17] ./mongoimport(_ZN5mongo4Tool4mainEiPPc+0x13d8) [0xda0e08] ./mongoimport(main+0x37) [0x6cc8a7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f64cac1e76d] ./mongoimport(__gxx_personality_v0+0x461) [0x6cc729] Tue Apr 22 06:29:51.221 exception:BSONObj size: 22661426 (0x32C95901) is invalid. Size must be between 0 and 16793600(16MB) First element: auto_id: 930763 Tue Apr 22 06:29:51.221 Tue Apr 22 06:29:53.003 Progress: 181288725/226191246 80% Tue Apr 22 06:29:53.003 563196 26818/second Tue Apr 22 06:29:56.706 Progress: 186952538/226191246 82% Tue Apr 22 06:29:56.706 598096 24920/second Tue Apr 22 06:29:59.044 Progress: 190545395/226191246 84% Tue Apr 22 06:29:59.044 619896 22959/second Tue Apr 22 06:30:00.455 Assertion: 10334:BSONObj size: 22730662 (0xA6D75A01) is invalid. Size must be between 0 and 16793600(16MB) First element: auto_id: 1209003 0xde4941 0xda788b 0xda7dcc 0x6d4c64 0x6d86d5 0x6d9f17 0xda0e08 0x6cc8a7 0x7f64cac1e76d 0x6cc729 ./mongoimport(_ZN5mongo15printStackTraceERSo+0x21) [0xde4941] ./mongoimport(_ZN5mongo11msgassertedEiPKc+0x9b) [0xda788b] ./mongoimport() [0xda7dcc] ./mongoimport(_ZNK5mongo7BSONObj14_assertInvalidEv+0x5c4) [0x6d4c64] ./mongoimport(_ZN6Import8parseRowEPSiRN5mongo7BSONObjERi+0xaf5) [0x6d86d5] ./mongoimport(_ZN6Import3runEv+0x12a7) [0x6d9f17] ./mongoimport(_ZN5mongo4Tool4mainEiPPc+0x13d8) [0xda0e08] ./mongoimport(main+0x37) [0x6cc8a7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f64cac1e76d] ./mongoimport(__gxx_personality_v0+0x461) [0x6cc729] Tue Apr 22 06:30:00.458 exception:BSONObj size: 22730662 (0xA6D75A01) is invalid. Size must be between 0 and 16793600(16MB) First element: auto_id: 1209003 Tue Apr 22 06:30:00.458 Tue Apr 22 06:30:01.839 check 9 695595 Tue Apr 22 06:30:01.954 imported 695595 objects Tue Apr 22 06:30:01.954 ERROR: encountered 5 error(s)s CSV OUT PUT 1,3039154,El Tarter,El Tarter,ACMEL,42.5795200,1.6536200,P,PPL,AD,ADPPL,02,02_PPL,02_PPLP,02_P,1052,0,1721,Europe/Andorra,2012-11-03,2014-04-11 04:26:18 2,3039163,Sant Julià de Lòria,Sant Julia de Loria,RFVQT,42.4637200,1.4912900,P,PPLA,AD,ADPPLA,06,06_PPLA,06_PPLAP,06_P,8022,0,921,Europe/Andorra,2013-11-23,2014-04-11 04:26:18 3,3039604,Pas de la Casa,Pas de la Casa,XHROV,42.5427700,1.7336100,P,PPL,AD,ADPPL,03,03_PPL,03_PPLP,03_P,2363,2050,2106,Europe/Andorra,2008-06-09,2014-04-11 04:26:18 4,3039678,Ordino,Ordino,MVWUM,42.5562300,1.5331900,P,PPLA,AD,ADPPLA,05,05_PPLA,05_PPLAP,05_P,3066,0,1296,Europe/Andorra,2009-12-11,2014-04-11 04:26:18 5,3040051,les Escaldes,les Escaldes,YMMXG,42.5072900,1.5341400,P,PPLA,AD,ADPPLA,08,08_PPLA,08_PPLAP,08_P,15853,0,1033,Europe/Andorra,2008-10-15,2014-04-11 04:26:18 6,3040132,la Massana,la Massana,JFVSD,42.5449900,1.5148300,P,PPLA,AD,ADPPLA,04,04_PPLA,04_PPLAP,04_P,7211,0,1245,Europe/Andorra,2008-10-15,2014-04-11 04:26:18 7,3040686,Encamp,Encamp,MAQGI,42.5347400,1.5801400,P,PPLA,AD,ADPPLA,03,03_PPLA,03_PPLAP,03_P,11223,0,1257,Europe/Andorra,2012-04-13,2014-04-11 04:26:18 8,3041204,Canillo,Canillo,WNXBN,42.5676000,1.5975600,P,PPLA,AD,ADPPLA,02,02_PPLA,02_PPLAP,02_P,3292,0,1561,Europe/Andorra,2012-12-24,2014-04-11 04:26:18 9,3041519,Arinsal,Arinsal,KMHXW,42.5720500,1.4845300,P,PPL,AD,ADPPL,04,04_PPL,04_PPLP,04_P,1419,0,1465,Europe/Andorra,2010-01-29,2014-04-11 04:26:18 10,3041563,Andorra la Vella,Andorra la Vella,NDXJY,42.5077900,1.5210900,P,PPLC,AD,ADPPLC,07,07_PPLC,07_PPLCP,07_P,20430,0,1037,Europe/Andorra,2010-05-30,2014-04-11 04:26:18 11,290594,Umm al Qaywayn,Umm al Qaywayn,VHXSX,25.5647300,55.5551700,P,PPLA,AE,AEPPLA,07,07_PPLA,07_PPLAP,07_P,44411,0,2,Asia/Dubai,2012-11-03,2014-04-11 04:26:18 12,291074,Ras al-Khaimah,Ras al-Khaimah,KHGLM,25.7895300,55.9432000,P,PPLA,AE,AEPPLA,05,05_PPLA,05_PPLAP,05_P,115949,0,2,Asia/Dubai,2013-11-26,2014-04-11 04:26:18 13,291279,Muzayri‘,Muzayri`,EIDQW,23.1435500,53.7881000,P,PPL,AE,AEPPL,01,01_PPL,01_PPLP,01_P,10000,0,123,Asia/Dubai,2013-10-24,2014-04-11 04:26:18 14,291696,Khawr Fakkān,Khawr Fakkan,NAJWH,25.3313200,56.3419900,P,PPL,AE,AEPPL,06,06_PPL,06_PPLP,06_P,33575,0,20,Asia/Dubai,2013-10-25,2014-04-11 04:26:18 15,292223,Dubai,Dubai,VICON,25.2581700,55.3047200,P,PPLA,AE,AEPPLA,03,03_PPLA,03_PPLAP,03_P,1137347,0,11,Asia/Dubai,2012-08-19,2014-04-11 04:26:18 16,292239,Dibā,Diba,BOSXM,25.6195500,56.2729100,P,PPL,AE,AEPPL,04,04_PPL,04_PPLP,04_P,26395,0,4,Asia/Dubai,2013-07-06,2014-04-11 04:26:18 17,292672,Sharjah,Sharjah,QUDHY,25.3373700,55.4120600,P,PPLA,AE,AEPPLA,06,06_PPLA,06_PPLAP,06_P,543733,0,6,Asia/Dubai,2013-03-05,2014-04-11 04:26:18 18,292688,Ar Ruways,Ar Ruways,AEWUN,24.1102800,52.7305600,P,PPL,AE,AEPPL,01,01_PPL,01_PPLP,01_P,16000,0,16,Asia/Dubai,2012-11-03,2014-04-11 04:26:18 19,292878,Al Fujayrah,Al Fujayrah,DELTN,25.1164100,56.3414100,P,PPLA,AE,AEPPLA,04,04_PPLA,04_PPLAP,04_P,62415,0,15,Asia/Dubai,2012-01-18,2014-04-11 04:26:18 20,292913,Al Ain,Al Ain,IDNKJ,24.1916700,55.7605600,P,PPL,AE,AEPPL,01,01_PPL,01_PPLP,01_P,408733,0,275,Asia/Dubai,2013-03-17,2014-04-11 04:26:18 21,292932,Ajman,Ajman,PYCMG,25.4111100,55.4350400,P,PPLA,AE,AEPPLA,02,02_PPLA,02_PPLAP,02_P,226172,0,4,Asia/Dubai,2013-03-24,2014-04-11 04:26:18 22,292953,Adh Dhayd,Adh Dhayd,UIGFG,25.2881200,55.8815700,P,PPL,AE,AEPPL,06,06_PPL,06_PPLP,06_P,24716,0,114,Asia/Dubai,2012-01-18,2014-04-11 04:26:18 23,292968,Abu Dhabi,Abu Dhabi,RTTMC,24.4666700,54.3666700,P,PPLC,AE,AEPPLC,01,01_PPLC,01_PPLCP,01_P,603492,0,6,Asia/Dubai,2012-01-18,2014-04-11 04:26:18 24,1120471,Zorkot,Zorkot,CDKPX,33.5414900,69.7344600,P,PPLA2,AF,AFPPLA2,37,37_PPLA2,37_PPLA2P,37_P,0,0,1845,Asia/Kabul,2013-04-03,2014-04-11 04:26:18 25,1120473,Wulêswālī Bihsūd,Wuleswali Bihsud,UEMAN,34.3436000,67.9056700,P,PPLA2,AF,AFPPLA2,27,27_PPLA2,27_PPLA2P,27_P,0,0,2960,Asia/Kabul,2012-08-04,2014-04-11 04:26:18 26,1120483,Kuhsān,Kuhsan,SAVFN,34.6538900,61.1977800,P,PPLA2,AF,AFPPLA2,11,11_PPLA2,11_PPLA2P,11_P,12087,0,740,Asia/Kabul,2012-05-05,2014-04-11 04:26:18 27,1120484,Lāsh,Lash,YGJDM,35.3782000,64.7745700,P,PPLA2,AF,AFPPLA2,07,07_PPLA2,07_PPLA2P,07_P,0,0,1927,Asia/Kabul,2012-02-28,2014-04-11 04:26:18 28,1120487,Tukzār,Tukzar,CBYRM,35.9483100,66.4213200,P,PPLA2,AF,AFPPLA2,33,33_PPLA2,33_PPLA2P,33_P,12021,0,1210,Asia/Kabul,2012-02-28,2014-04-11 04:26:18 29,1120500,Mīray,Miray,MYKEQ,33.3246200,68.4406800,P,PPLA2,AF,AFPPLA2,08,08_PPLA2,08_PPLA2P,08_P,0,0,2077,Asia/Kabul,2013-03-05,2014-04-11 04:26:18 30,1120501,Āq Kupruk,Aq Kupruk,SRHIW,36.0835200,66.8402900,P,PPLA2,AF,AFPPLA2,30,30_PPLA2,30_PPLA2P,30_P,0,0,719,Asia/Kabul,2012-02-28,2014-04-11 04:26:18