Open rocknjoekudo opened 8 years ago
Hi RJ,
How much memory do you have free when you run the clusterdock_run
command? 12 GB of RAM is cutting it really close to not having enough resources to support even a 2-node CDH cluster.
Here is my free space of my RAM before running docker version of CDH.
rj@rj-ubuntu:~$ free -g
total used free shared buff/cache available
Mem: 11 0 10 0 0 10
Swap: 7 0 7
I am not sure if this enough for me to run it.
Can you run that command while clusterdock is waiting for CM to come online?
This is the RAM usage with the running clusterdock while CPU usage is 100% for 4 of 8 cores.
rj@rj-ubuntu:~$ free -g
total used free shared buff/cache available
Mem: 11 2 7 0 1 8
Swap: 7 0 7
And this is the RAM usage with the still running clusterdock while CPU usage dropped to nearly 0.
rj@rj-ubuntu:~$ free -g
total used free shared buff/cache available
Mem: 11 1 8 0 1 9
Swap: 7 0 7
I have noticed that there is always a time slot that both CPU and RAM usages drops to a low level, while the clusterdock is still running. I guess some processes stopped here, or simply waiting for further commands.
Hi, I had the same problem some days ago, I searched across diferent same issues .... Finally I concluded it's due to ram resources error. I saw that after this error I was able to start cloudera manager through command line but after some seconds it crushed, I tried with at least 20 GB for the cluster, and it worked. To sum sup, the startup script wait to cloudera is up to continue but due to inssuficient resources, cloudera manager is not able to start, so it fails.
@iasinDev Thanks for your reply, my friend. I can understand your proposal. But then I have another question: why these Virtual Machines images can run clusterdock with only 4GB RAM allocated?
The problem is the services, by default when cluster starts, start cloudera manager and after all CDH services activated, so a lot of ram is needed; that's probably the reason why @dimaspivak tell in another issues to use the param of not start services
@rocknjoekudo try with the options described at the blog post of only start some services
@iasinDev Thanks again. But I still have a doubt: why clusterdock on my machine didn't occupy much RAM when it was starting, at the same time that CPU resources are occupied quite much? And could you please send me the blog post link? I couldn't find it.
I'm also getting the same error even though I have 32GB as RAM and it is not using that much RAM while running the startcluster script. Appreciate any help on this.
Can you share details of your OS, Docker version, host, etc.? This is a year-old thread so many things might have changed since then.
Not sure whether or not this is still an active repo, but has anybody found a solution to this issue? It's algo happening to me. I'm using Oracle Linux Server 7.6, and the machine has 64GB of RAM (out of which 50 are free) and 12 available cores. I can see that there isn't really much of RAM or CPU usage while clusterdock waits for CM to come online. Is it possible to start the cluster with all services except CM?
Hello, the great contributers of this amazing project,
I am a student who is learning CDH from scratch, and I am new to this docker project. I followed the instructions from this tutorial https://hub.docker.com/r/cloudera/clusterdock/, but I encountered the following timeout error. This is quite similar to this closed issue https://github.com/cloudera/clusterdock/issues/2, but running with a different environment.
The docker is running on top of a native Ubuntu 16.04.1 LTS 64bits, with up-to-date packages including docker-engine. My CPU is i7-4710HQ, and my RAM is 12GB.
I tried to restart the docker-engine service, but the result remained the same. Please leave me some hints for this issue. Thanks in advance. RJ, a master student from Vrije Universiteit Brussel