Support Questions

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

​Anyone have info on how mongodb do the sharding within the HDP cluster?

avatar
Expert Contributor

Anyone have info on how mongodb do the sharding within the HDP cluster? I have a mongodb installed by ambari, but when check the sharding info on mongodb, it tells me the sharding is not enabled.

so when I tried to enable sharding for mongodb, the server will be down. I have to restart all components on that server.

1 ACCEPTED SOLUTION

avatar

@Robin Dong

What repo did you use to install MongoDB? Have you seen this one:https://github.com/geniuszhe/ambari-mongodb-cluster

View solution in original post

3 REPLIES 3

avatar

@Robin Dong

What repo did you use to install MongoDB? Have you seen this one:https://github.com/geniuszhe/ambari-mongodb-cluster

avatar
Contributor

Thanks for the link @Eyad Garelnabi.I have HDP 2.4 installed on ubuntu,followed the same steps provided but getting the following errors during Install,start and test wizard in Ambari.Any help would be thankful.

Fail: Applying File['/etc/yum.repos.d/mongodb.repo'] failed, parent directory /etc/yum.repos.d doesn't exist

avatar
Expert Contributor

yes, this is the piece of info can fix my problem here.

thank you so much Eyad Gareinabi.

Robin