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

When provide path for "dataDir" with heading space, it is taking correct path (by trucating space) for snapshot but zookeeper_server.pid is getting created in root (/) folder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.5.1, 3.5.2
    • 3.5.3
    • server
    • None

    Description

      Scenario 1 :-
      When provide path for "dataDir" with heading space, it is taking correct path (by trucating space) for snapshot but zookeeper_server.pid is getting created in root folder
      Steps to reproduce:-
      1. Configure the dataDir
      dataDir= /home/Rakesh/Zookeeper/18_Aug/zookeeper-3.5.1-alpha/data
      Here there is a space after dataDir=
      2. Start Zookeeper Server
      3. The snapshot is getting created at location mentioned above by truncating the heading space but
      zookeeper_server.pid is getting created at root folder

      Attachments

        1. zkServer.sh.patch
          0.5 kB
          Rakesh Kumar Singh

        Issue Links

          Activity

            People

              rakeshsingh Rakesh Kumar Singh
              rakeshsingh Rakesh Kumar Singh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: