some weird happened Pinot Server Data Directory `...
# troubleshooting
a
some weird happened # Pinot Server Data Directory
pinot.server.instance.dataDir=/Users/adityaverma/pinot-storage/data/server/index
# Pinot Server Temporary Segment Tar Directory
pinot.server.instance.segmentTarDir=/Users/adityaverma/pinot-storage/data/server/segmentTar
# Location to store Pinot Segments pushed from clients
controller.data.dir=/Users/adityaverma/pinot-storage/data/controller
m
You need to restore the metadata as well that is stored in ZK (table definitions, etc)
a
ohhh I see. so from where can I change that?
m
Either you need to keep ZK alive all the time, or you need to have automation to save ZK snapshot at shutdown, and restore the snapshot when resurrecting the cluster.
a
so If I am running on my local node or an ec2 instance lets say how can I take the ZK snapshot ?
a
that means if my kubernetes cluster goes down then the metadata will also be removed ?
m
If you are running in production, you need to ensure steps to have HA as well as DR, like any other distributed system.
a
got it . so it should be maintained in the YAML file right?
and for running on an ec2 instance I need to understnad how to take a snapshot
curl -H 'Authorization: digest root:root_passwd' \
http://localhost:9000/commands/snapshot?streaming=true \
--output snapshotFileName
@Mayank can you have a look at it ?
bin/pinot-admin.sh StartZookeeper -zkPort 2191
Thats how I am running zookeeper. I have kafka alreayd installed for which I am usinh the zookeeper> but looks like zookeeper properties are not picker up as in server.properties in zookeeper.
zookeeper.connect=localhost:2191
please guide me how can I give zookeeper properties using parameter -configFileName.
@Mayank
you might have to guide me a little bit here .
I think I am missing something here