Hi All,
I need to run hbase 0.98 backed by hdfs on docker container and want to stop
the data lost if the container restarts.
As per my understanding of docker containers, they work in a way
that if any of the container is stopped/killed , every information related to
it gets killed. It implies if I am running hbase in a container and I have
stored some data in some tables and consequently if the container is stopped
then the data will be lost. I need a way in which I can stop this data loss.
I have gone through concept of volume in docker. Is it possible
to stop this data loss with this approach? What if volume gets corrupted? Is
there any instance of volume running there which can be stopped and can cause
data loss ?
Is there a possibility that I can use hdfs running at some
external host outside the docker and my hbase running inside docker ? Is such
scenario possible ? If yes, How ?
Thank you in advance.
Thanks,
Udbhav Agarwal