See this medium post for info on setting the Docker container up.
That is the source of the run-hbase.sh
script.
docker exec -it hbase-docker hbase shell
docker exec -it hbase-docker hbase shell
The .rb
files have been modified to reflect updates to HBase
since 1.0
.
In particular, they use proper Connection
s to the tables
and switch to a BufferedMutator
for batched writes,
instead of manually managing commit flushing.
Copy the files into ./data
,
which will be generated by run-hbase
,
to get access to them inside the Docker container.
Hacky, I know.