pinpoint-docker icon indicating copy to clipboard operation
pinpoint-docker copied to clipboard

Pinpoint hbase tables not creating in kubernetes

Open asasisekar opened this issue 5 years ago • 5 comments

Using pinpointdocker/pinpoint-hbase:1.8.5 for hbase. Docker run is creating the hbase tables. But in kubernetes, tables are not getting created. Do i need to do execute any script to create tables in kubernetes?

asasisekar avatar Oct 10 '19 02:10 asasisekar

Hello, @asasisekar

I didn't have time to test in k8s. I'm trying to make time for it.

RoySRose avatar Oct 21 '19 04:10 RoySRose

Hi. I'm not entirely sure if i'm right but i have a hunch. As far as i understand the Dockerfile, the tables are beeing generated during the build phase, somewhere within /home/pinpoint/hbase. If you run pinpoint-hbase on kubernetes you usually overwrite the storage locations with persistent volumes, hence hiding the tables that exist in the container image. One way to solve this is to create the tables during hbase startup, not during the container build phase.

Please let me know if you think this might be the case.

geoberle avatar Nov 24 '19 06:11 geoberle

@geoberle

has a good point~

RoySRose avatar Nov 24 '19 23:11 RoySRose

@asasisekar Me too. Besides, I can not connect HBase, do you have this problem? #57

qiaolb avatar Mar 26 '20 04:03 qiaolb

Hbase bind 2181 port on localhost. if you want to connect hbase with another pod then you need to connect hbase with another zookeeper. and don't forget to start localregionalserver on your hbase pod.

shambu468 avatar Apr 03 '20 11:04 shambu468