Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Could not find port with name 'portName' for remote NiFi instance

Solved Go to solution

Could not find port with name 'portName' for remote NiFi instance

New Contributor

Hello, I cannot connect my NifiStorm java class to my NiFi instance. I get an exception error "Could not find port with name portName for remote NiFi instance". My NiFi instance is running with the port name = "portName" and Ambari reports that the DRPC server, nimbus, and the UI Server has started. It also reports that the Supervisor is live. I have Storm on my sandbox - HDP 3.2. What could be causing this unrecognized port name error?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Could not find port with name 'portName' for remote NiFi instance

New Contributor

I did not know about the secure mode option. I set the secure mode to false in the properties file and it fixed the issue. Thanks!

3 REPLIES 3

Re: Could not find port with name 'portName' for remote NiFi instance

Rising Star
@Alexander Aolaritei

Is the port that you create in NiFi an Output Port on the root group? If not, you will need to make sure that you have it configured this way. Also, if you are running NiFi in secure mode, you will need to ensure that your client authenticates properly and that you have granted access to client in NiFi by configuring the port and going to the 'Access Controls' tab.

Re: Could not find port with name 'portName' for remote NiFi instance

Could provide a screen shot of your NiFi flow showing the output port?

Re: Could not find port with name 'portName' for remote NiFi instance

New Contributor

I did not know about the secure mode option. I set the secure mode to false in the properties file and it fixed the issue. Thanks!