Uploaded image for project: 'MongoDB ETL Tools'
  1. MongoDB ETL Tools
  2. TOOLS-1033

mongoimport can't import a given json file in 3.0.7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.0.7, 3.2.0, 3.3.0
    • Fix Version/s: 3.0.12, 3.3.6, 3.2.7
    • Component/s: mongoimport
    • Labels:
      None
    • Sprint:
      Server Tools 10 (02/19/16), Server Tools 11 (03/11/16), Server Tools 12 (04/01/16)

      Description

      Looks like a modification in mongoimport in 3.0.7 prevents it to import the posts.json file from M101P, homework 5.1

      mongod=3.0.6 mongoimport=3.0.6

      [mms-user@tse-7 versions]$ 3.0.6/bin/mongoimport -d test -c c306 ~/posts.json
      2016-01-09T05:29:30.183+0000	connected to: localhost
      2016-01-09T05:29:32.036+0000	imported 1000 documents
      

      mongod=3.0.6 mongoimport=3.0.7

      [mms-user@tse-7 versions]$ 3.0.7/bin/mongoimport -d test -c c307 ~/posts.json
      2016-01-09T05:30:35.422+0000	connected to: localhost
      2016-01-09T05:30:36.801+0000	error inserting documents: lost connection to server
      2016-01-09T05:30:36.801+0000	Failed: lost connection to server
      2016-01-09T05:30:36.801+0000	imported 0 documents
      

      mongod=3.0.7 mongoimport=3.0.7

      [mms-user@tse-7 versions]$ 3.0.7/bin/mongoimport -d test -c c307 ~/posts.json
      2016-01-09T05:34:54.723+0000	connected to: localhost
      2016-01-09T05:34:56.109+0000	error inserting documents: lost connection to server
      2016-01-09T05:34:56.109+0000	Failed: lost connection to server
      2016-01-09T05:34:56.109+0000	imported 0 documents
      

      The problem is still there in 3.2.0

      mongod=3.2.0 mongoimport=3.2.0

      [mms-user@tse-7 versions]$ 3.2.0/bin/mongoimport -d test -c c320 ~/posts.json
      2016-01-09T05:37:06.245+0000	connected to: localhost
      2016-01-09T05:37:07.630+0000	Failed: lost connection to server
      2016-01-09T05:37:07.630+0000	imported 0 documents
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gabriel.russell Gabriel Russell
                Reporter:
                daniel.coupal Daniel Coupal
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: