You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Flavio Junqueira (JIRA)" <ji...@apache.org> on 2016/11/02 13:39:58 UTC

[jira] [Commented] (ZOOKEEPER-2625) zkServer.sh creates PID file in the folder data?/ instead of data/

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-2625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15629000#comment-15629000 ] 

Flavio Junqueira commented on ZOOKEEPER-2625:
---------------------------------------------

Thanks for reporting this issue, [~ABchmn]. Do you want to give it a shot at patching the script?

> zkServer.sh creates PID file in the folder data?/ instead of data/
> ------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2625
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2625
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 3.5.2
>         Environment: Linux vagrant-ubuntu-trusty-32 3.13.0-100-generic #147-Ubuntu SMP Tue Oct 18 16:49:53 UTC 2016 i686 i686 i686 GNU/Linux
>            Reporter: Arne Bachmann
>            Priority: Minor
>
> I provision a vagrant vm that installs zookeeper into /home/vagrant/zk and adjusts all owner and read/write rights.
> With the vagrant user, I start zookeeper as bin/zkServer.sh start /vagrant/data/zoo.cfg
> However, the folder data? (or data^M) gets created with the PID inside, instead of putting it into the data folder, which contains the version-2 folder.
> Since I'm using the official start scripts, I'm at a loss.
> Also, the data? folder comes with root:root ownership, which is strange, as zKServer.sh is executed from the vagrant user.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)