AlexsJones / kubernetes-nifi-cluster

Apache Nifi cluster running in kubernetes
MIT License
84 stars 21 forks source link

UnknownHostException #13

Open egeste opened 5 years ago

egeste commented 5 years ago

The following error is thrown when performing a new deployment to google cloud following the README from this repository. Please advise?

o.a.nifi.controller.StandardFlowService Failed to connect to cluster due to:
org.apache.nifi.cluster.protocol.ProtocolException:
Failed to create socket to nifi-0:2882 due to:
java.net.UnknownHostException: nifi-0
danielkoek commented 5 years ago

Having the same problem!

AlexsJones commented 5 years ago

Sorry for the late reply, this looks like the nifi-0 externalnAme hasnt been resolved correctly.

Can you confirm you applied the correct service endpoints. Please show me what you see when you do kubectl get endpoints -n nifi

AlexsJones commented 5 years ago

Please try since the v0.1 release

egeste commented 5 years ago

Sorry for the late response. I've moved on to other projects since filing this report. However, I do anticipate that I will need to deploy and teardown nifi clusters for short projects in the future, so I'll give it another run today and report back.

gpx-rajasekhar-kakanuru commented 2 years ago

Hi AlexJones i'm getting below error, please help me on this o.a.nifi.controller.standardflowservice failed to connect to cluster due to: org.apache.nifi.cluster.protocol.protocolexception: failed to create socket to due to: java.net.unknownhostexception: