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

If the configured log directory does not exist zookeeper will not start. Better to create the directory and start

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.4.4, 3.5.0
    • scripts
    • None
    • Reviewed

    Description

      if the configured log directory does not exists zookeeper will not start. Better to create the directory and start
      in zkEnv.sh we can change as follows

      if [ "x${ZOO_LOG_DIR}" = "x" ]
      then
      ZOO_LOG_DIR="."
      else
      if [ ! -w "$ZOO_LOG_DIR" ] ; then
      mkdir -p "$ZOO_LOG_DIR"
      fi
      fi

      Attachments

        1. ZOOKEEPER_1490_updated.patch
          0.4 kB
          suja s
        2. ZOOKEEPER_1490.patch
          0.4 kB
          suja s
        3. ZOOKEEPER_1490.patch
          0.3 kB
          suja s

        Activity

          People

            suja suja s
            suja suja s
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: