Support Questions

Find answers, ask questions, and share your expertise

Mongo DB in CDH




I'm working on Cloudera Quickstart VM 5.13 with CentOS 6.7. I want to use mongodb but the service won't start, i have this error:

Starting mongod: [FAILED]


Here is what i did; I downloaded the rpm files from the Mongo DB Repository ). Then installed each file with the following command: sudo rpm -i /tmp/mozilla_cloudera0/fileName;


After that, i created the MongoDB data and log directories like so:

sudo mkdir -p /var/lib/mongo

sudo mkdir -p /var/log/mongodb


Then I have set the owner and group of these directories to mongod:

sudo chown -R mongod: mongod /var/lib/mongo

sudo chown -R mongod: mongod /var/log/mongodb


And i finally checked if MongoDB was installed, with this command: mongod --version

Here is the result: Build Info: {
"version": "4.4.4",
"gitVersion": "8db30a63db1a9d84bdcad0c83369623f708e0397",
"openSSLVersion": "OpenSSL 1.0.1e-fips 11 Feb 2013",
"modules": [],
"allocator": "tcmalloc",
"environment": {
"distmod": "rhel62",
"distarch": "x86_64",
"target_arch": "x86_64"


Can anyone help me?


@emeric I am afraid that MondoDB is not supported and hardly will work with Cloudera as this is NoSQL DB while the Cloudera Manager and other CDH service which requires database is needs to be RDBMS. So you have to go with any RDBMS listed in the supported matrix.

Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.