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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.4, 3.5.0
    • Component/s: scripts
    • Labels:
      None
    • Hadoop Flags:
      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.patch
          0.3 kB
          suja s
        2. ZOOKEEPER_1490.patch
          0.4 kB
          suja s
        3. ZOOKEEPER_1490_updated.patch
          0.4 kB
          suja s

          Activity

            People

            • Assignee:
              suja suja s
              Reporter:
              suja suja s
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: