GELOG / docker-ubuntu-hbase

Dockerfile for running HBase on Ubuntu
Apache License 2.0
7 stars 5 forks source link

Increase the HBaseMaster memory from Docker run #5

Open davidonlaptop opened 9 years ago

davidonlaptop commented 9 years ago

Find a way to increase the memory outside the docker image, so that users can customize memory allocation of hbase.

mikefaille commented 9 years ago

Docker don' have access to all memories available ?

davidonlaptop commented 9 years ago

It probably has but most hadoop technology allocate a fixed amount of RAM. There should something like an hbase-env.sh that defines these parameters.

However, it can't be hardcoded in the docker image can run on different hardware. The ideal would be to pass an environment variable to the docker run command.

There should be multiple memory variables, but I think we just need to change the hbase master for now.

-David

mikefaille commented 9 years ago

Allright. I catch your need. I'll check it monday.