Uploaded image for project: 'InsightEdge Platform'
  1. GS-13508

Apache ZooKeeper sometimes fails to create a data directory on startup

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 12.3.1
    • Labels:
      None

      Description

      The Grid Service Agent failed to start the ZooKeeper instance, but succeeded on its next attempt. The failure was caused by a file system error trying to create the directory structure for the snapshot data and logs of the ZooKeeper server.

      For example, the following message appears in the manager logs:
      "Failed to run Zookeeper instance; Caused by: java.io.IOException: Unable to create data directory /work/manager/zookeeper/log/version-2"

      This does not always occur, and there have been reports of similar behavior by the ZooKeeper community. To avoid this issue, the XAP Manager now creates these directories beforehand with write access, or lets the Grid Service Agent succeed in creating the ZooKeeper server on its next attempt.

        Attachments

          Activity

            People

            • Assignee:
              moran Moran Avigdor
              Reporter:
              moran Moran Avigdor
              Participants of an issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: