clouderacloudera-cdhcloudera-managercloudera-quickstart-vmcloudera-director

Cloudera Cluster Deployment bootstrap failed error on EC2 using Director


I have successfully deployed Cloudera Director and Cloudera Manager on EC2. I can access both director and manager instances from browser and can do ssh to those instances. Cloudera Manager server and agent is running fine and checked it by running following commands.

Next step is - I want to deploy cluster. However its failing and I am getting Bootstrap failed error. I checked application.log file on director and found exception as - Caused by:

java.net.ConnectException: ConnectException invoking http://:7180/api/v6/commands/158: Connection refused (Connection refused)

After checking services status, I found that during deployment of cluster, somehow cloudera-scm-manager service is getting stopped (cloudera-scm-server). However, before deployment of cluster, I had verified that cloudera-scm-server service was up and running.

I tried deploying cluster number of times and using both t2 small and m4 large instance types. I am getting same exception.

After getting error, if I restart cloudera-scm-service, it starts, and works fine. But during cluster deployment it gets stops automatically which I guess fails the cluster deployment. Not sure how and why?

Any idea what could be the issue? Can someone provide any pointers/help to resolve this issue?

Version details used for deployment as follows -

Any help/input/pointers to solve this issue, greatly appreciated.

Thanks so much in advance.

-picku


Solution

  • Picku

    My first guess based on your symptoms is that your CM instance is too small. Linux has an OOM Killer that will terminate arbitrary processes if there is not enough memory for the OS to run. This is likely the reason that you don't see the cloudera-scm-service as running. I believe you can look in /var/log/messages to find the "smoking gun" that implicates the OOM Killer.

    Please refer to the Cloudera Enterprise Reference Architecture for AWS Deployments for recommendations on instance types. http://www.cloudera.com/documentation/other/reference-architecture/PDF/cloudera_ref_arch_aws.pdf

    Good Luck! David