Member since
01-26-2022
82
Posts
2
Kudos Received
5
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1386 | 09-08-2022 04:02 AM | |
| 2698 | 07-27-2022 03:29 AM | |
| 2149 | 06-28-2022 09:43 PM | |
| 2084 | 06-27-2022 08:42 AM | |
| 20649 | 06-16-2022 10:29 PM |
06-26-2022
11:34 PM
Hi, Please, kindly help. Use Case: Minifi should send logs to a Secured 3 Nodes Nifi Cluster; Method: I am trying to generate client certificate on one of the Nifi nodes(https://masternode:9443)to use for minifi configuration file. I ran this command: ./tls-toolkit.sh client -c masternode -D 'CN=nifiadmin, OU=NIFI' -C /tmp/minifi/ -t nifinifinifinifi ERROR: tls-toolkit.sh: JAVA_HOME not set; results may vary [main] INFO org.apache.nifi.toolkit.tls.service.client.TlsCertificateAuthorityClient - Requesting new certificate from masternode:9443 [main] INFO org.apache.nifi.toolkit.tls.service.client.TlsCertificateSigningRequestPerformer - Requesting certificate with dn CN=nifiadmin,OU=NIFI from masternode:9443 Service client error: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Thank you.
... View more
Labels:
06-16-2022
10:29 PM
Thanks to everyone especially @SAMSAL. I got to know it is the firewall that was blocking the communications among the ports. I tried to add those ports to firewall but no much success. When i tried to reach NIFI GUI, i ran into this error: java.net.NoRouteToHostException: No route to host (Host unreachable). So i disable the firewall & everything worked perfectly. FIRST METHOD: NO SUCCESS firewall-cmd --zone=public --permanent --add-port 9991/tcp firewall-cmd --zone=public --permanent --add-port 2888/tcp firewall-cmd --zone=public --permanent --add-port 3888/tcp firewall-cmd --zone=public --permanent --add-port 2181/tcp firewall-cmd --reload SECOND METHOD: SUCCESS systemctl stop firewalld
... View more
06-16-2022
09:47 PM
I have no such file inside my conf folder. I am running a non secured instance. I am on NIFI 1.16.2, jdk 11.0.15. Thank you.
... View more
06-16-2022
02:07 PM
Sir, i have rectified accordingly. Still no success. Thanks
... View more
06-16-2022
01:54 PM
Thanks sir, @SAMSAL for calling for help on my behalf.
... View more
06-16-2022
01:28 PM
i am on CentOs 8.5. Nifi 1.16.2 I set something like this on nifi.properties file: nifi.cluster.node.protocol.port=9991. And on zookeeper: server.1=masternode:2888:3888;2181 server.2=workernode02:2888:3888;2181 server.3=workernode03:2888:3888;2181
... View more
06-16-2022
01:17 PM
Also, i forgot to tell you that i am running three (3) CentOs 8.5 instances separately on Vmware configured with static IP. All of them are able to ping one another. And i also disable Selinux.
... View more
06-16-2022
01:15 PM
I did it correctly. I have cross checked many times. I made sure the digits are inside myid file appropriately.
... View more
06-16-2022
12:39 PM
It's more than 2hrs now, same "Invalid State" at the login. While the log trace is still showing: CuratorLeaderElectionManager Unable to determine leader for role 'Cluster Coordinator'; returning null org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /nifi/leaders/Cluster Coordinator
... View more