[
https://issues.apache.org/jira/browse/NIFI-9622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tarun Bali updated NIFI-9622:
-----------------------------
Component/s: Docker
Description:
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=zookeeper:2181
- NIFI_ELECTION_MAX_WAIT=1 min
- NIFI_SENSITIVE_PROPS_KEY=tarunbali
> 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: Major
>
> 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=zookeeper:2181
> - NIFI_ELECTION_MAX_WAIT=1 min
> - NIFI_SENSITIVE_PROPS_KEY=tarunbali
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)