Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Mongo DB in CDH

avatar
Explorer

Hello,

 

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 https://repo.mongodb.org/yum/redhat/6/mongodb-org/4.4/x86_64/RPMS/ ). 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?

1 REPLY 1

avatar
Master Guru

@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. 

 

https://docs.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_database_requirements.h...


Cheers!
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.