Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

​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
New Member

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