I need to find a way to shutdown myMapR cluster on EMR temporary. So I want to restart it again without terminating cluster. I want to do this since I don't want to be charged for idle times. Can anyone guide me how to do this?
Please first share which MapR version you are on.
Hi, I am on MapR m7 version 4.0.2.
Mahdi Bazargani Shutting down all the Warden(s) (first) followed by ZooKeeper(s) services on the nodes should pretty much bring down the cluster. You can safely bring down the AWS instances after that.
Hope that's what you were looking for. If not, please feel free to clarify.
Yes, I did the same, but when I terminate Ec2 instances on EMR cluster, they will be automatically re-instantiated, otherwise I terminate the EMR cluster.
Hello Mahdi Bazargani. Your latest reply has me slightly confused. When you terminate an AWS instance, and if not set to retain the resources, isn't it as good as scrapping the entire MapR cluster? Are you looking for cluster preservation in such a scenario?
Please elaborate a little more. It'd be great if you could list out the actual steps being carried out at your end so that I understand this better.
steps I did:
1-SSH to EMR master node
2-stopping warden and zookeper, nfs,...(on some slave nodes as well..cluster going down)
3-now I wanna turn off ec2 instances temporarlly to avoid extra charges but not sure how to do it?
Also not sure how to set to "retain the resources"?
Aah, now I get what you're trying to do. This has got to do more with AWS instance management. You could simply shutdown the AWS instances I believe (after taking the MapR services down gracefully). And if you did not set terminate on shutdown, things should be okay.
Hi Mahdi Bazargani,
Where Mufeed's suggestion helpful? were you able to solve the issue?. Please help us mark the correct answer so other members can benefit from your experience.
Retrieving data ...