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 Bug
    • Status: Resolved
    • Priority: Minor 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

      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

        suja s created issue -
        suja s made changes -
        Field Original Value New Value
        Attachment ZOOKEEPER_1490.patch [ 12532506 ]
        suja s made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        suja s made changes -
        Attachment ZOOKEEPER_1490.patch [ 12532511 ]
        Patrick Hunt made changes -
        Assignee suja s [ suja ]
        Patrick Hunt made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Fix Version/s 3.5.0 [ 12316644 ]
        suja s made changes -
        Attachment ZOOKEEPER_1490_updated.patch [ 12532854 ]
        suja s made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Patrick Hunt made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 3.4.4 [ 12319841 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development