Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2625

zkServer.sh creates PID file in the folder data?/ instead of data/

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.5.2
    • None
    • scripts
    • 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

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ABchmn Arne Bachmann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1.5h
                1.5h