Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-3328

Comment on: "mongodb-ecosystem/tutorial/getting-started-with-hadoop.txt"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Blocker - P1 Blocker - P1
    • v1.3.10
    • None
    • ecosystem

    Description

      If authentication is turned on in MongoDB, the examples (and any use of the connector) will fail due to the connector trying to run the internal db command 'splitVector'. As a result, need to document that if using auth=true in MongoDB, need to ensure the user(s) for the source and target DBs for the MapReduce have the following role assigned: 'clusterManager'

      eg. in mongo shell run:

      use mongo_hadoop
      db.updateUser( "reportsUser",
      {
      roles : [

      { role: "readWrite", db: "mongo_hadoop" }

      ,

      { role : "clusterManager", db : "admin" }

      ]
      }
      )

      If this is not set, when a connector job is run, it fails with an access control exception.

      Attachments

        Activity

          People

            michael.paik Michael Paik
            paul.done@mongodb.com Paul Done
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 20 weeks, 2 days ago