[ https://issues.apache.org/jira/browse/NIFI-9622 ]
Yuriy Malygin deleted comment on NIFI-9622: ------------------------------------- was (Author: _ph): Same problem when trying to start cluster (three nodes, version 1.18.0) with SASL/SSL security features in external (not embedded) Zookeeper cluster and NiFi. > There is currently no Cluster Coordinator. This often happens upon restart of > NiFi when running an embedded ZooKeeper. Will register this node to become > the active Cluster Coordinator and will attempt to connect to cluster again. > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: NIFI-9622 > URL: https://issues.apache.org/jira/browse/NIFI-9622 > Project: Apache NiFi > Issue Type: Bug > Components: Docker > Reporter: Tarun Bali > Priority: Blocker > > Hi Community, > I am trying to run nifi through docker compose but getting below WARN: > There is currently no Cluster Coordinator. This often happens upon restart of > NiFi when running an embedded ZooKeeper. Will register this node to become > the active Cluster Coordinator and will attempt to connect to cluster again > Attempted to register Leader Election for role 'Cluster Coordinator' but this > role is already registered. > > The NiFI UI is in invalid state and saying that The Flow Controller is > initializing the Data Flow. > Below are my docker-compose config: > > zookeeper: > hostname: zookeeper > image: zookeeper:latest > container_name: zookeeper > ports: > - "2181:2181" > networks: > net_pet: > ipv4_address: 172.27.1.15 > environment: > - ZOOKEEPER_HOST_NAME=zookeeper > - ZOOKEEPER_CONNECTION_TIMEOUT_MS=60000000 > - STREAMS_ZK_SESSION_TIMEOUT_SEC=600000 > - ALLOW_ANONYMOUS_LOGIN=yes > nifi: > image: apache/nifi:latest > ports: > - 8080 > environment: > - NIFI_WEB_HTTP_PORT=8080 > - NIFI_CLUSTER_IS_NODE=true > - NIFI_CLUSTER_NODE_PROTOCOL_PORT=8082 > - NIFI_ZK_CONNECT_STRING=172.27.1.15:2181 > - NIFI_ELECTION_MAX_WAIT=1 min > - NIFI_SENSITIVE_PROPS_KEY=tarunbali > > > -- This message was sent by Atlassian Jira (v8.20.10#820010)