_Why_ do you want to access the raw file? Because
in the "normal" case you shouldn't have to care a whit
about where ZK keeps the files.

The normal pattern for changing these files is to use
the upconfig/downconfig zkcli commands to replace
the configs wholesale.

For production situations, it's often the pattern to keep
the configs in some version control system (svn, git,
whatever). Then to change them you check them out
of source-control and upconfig them (which replaces
an old configset or adds a new one).

You can use the downconfig command to fetch the files
from ZK to your local machine.

And if you really want to, there's a nifty IntelliJ plugin
that will allow you to edit them directly on ZK, but
that is something I'd never use for production because
your configs had _really_ better be under some
versioning system. It's great for development though.

Best,
Erick

On Thu, Jul 2, 2015 at 11:04 AM, Shawn Heisey <apa...@elyograg.org> wrote:
> On 7/2/2015 2:31 AM, dinesh naik wrote:
>> For solr version 5.1.0, Where does Zoo keeper keep all the config files
>> ?How do we access them ?
>>
>> From Admin console , Cloud-->Tree-->config , we are able to see them but
>> where does Zoo Keeper store them(location)?
>
> The information you can see in Cloud->Tree is a visual representation of
> the entire config tree within Zookeeper.  Zookeeper is organized quite a
> lot like a filesystem, with structures that look a lot like directories.
>
> If you have provided a chroot with your zkHost string, then the Solr
> config tree will begin at the path indicated in the chroot.  If you did
> not include a chroot, then it will be at the root of the zookeeper
> "filesystem."
>
> Thanks,
> Shawn
>

Reply via email to