Any dir where the user that will be running the zookeeper process has write
access to. What we usually do is create a folder within the zookeeper dir.
So, given a $ZOOKEEPER_HOME folder, we configure zookeeper to use
$ZOOKEEPER_HOME/workdir or something like that.

Regards,
JG

On Sat, Oct 10, 2015 at 1:17 PM, researcher cs <[email protected]>
wrote:

> ok , then i change it to var for example ? or is there any  specific dir
> for it ?
>
> On Sat, Oct 10, 2015 at 4:42 PM, Javier Gonzalez <[email protected]>
> wrote:
>
>> Change it. /tmp is not where you want to  keep any application data.
>> On Oct 10, 2015 7:54 AM, "researcher cs" <[email protected]>
>> wrote:
>>
>>> i'm new to storm and zookeeper just i want to ask about Data Dir in
>>> zoo.cfg
>>> i wrote /tmp/zookeeper
>>> but i read in a site that data dir not to be /tmp/zookeeper we should
>>> change it
>>>
>>> is it right or not ?
>>>
>>
>


-- 
Javier González Nicolini

Reply via email to