You should have a "zoo.cfg" file in the conf directory (a sibling to the bin directory where you run ZK). Inside there the dataDir property specifies where ZooKeeper stores data. NOTE: the default is somewhere under /tmp and should NOT be used for production since the contents of /tmp can disappear when you reboot on *nix op systems.
Best, Erick On Fri, Aug 31, 2018 at 7:55 AM Shawn Heisey <apa...@elyograg.org> wrote: > > On 8/31/2018 8:40 AM, Sushant Vengurlekar wrote: > > Any idea where this database is stored on the file system. I don’t want to > > read it but just know where it resides. > > If you followed recommendations, your ZooKeeper ensemble is NOT using > the ZK server that's embedded inside Solr. In that case I would have > absolutely no idea, as the setup of that would not be part of Solr at > all and the locations can be customized to be anything you want. > > If you didn't follow advice and are using the embedded zookeeper, there > is probably a zoo_data directory under your solr home. Inside that > location should be a version-2 directory, where the actual data will reside. > > Thanks, > Shawn >