Member since
07-04-2016
9
Posts
3
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
11039 | 03-10-2017 04:35 PM |
03-23-2017
09:18 AM
1 Kudo
Hi, I am using nifi 0.6.0 version and using in-built ListenTCP processor to get the data on TCP port remotely. This processor has property "Max Number of TCP Connections" with default value 2. I am using default value only. When internally 2 connections has been occupied then it will throw an exception (Rejecting Connections from xx.xx.xx.xx : xxxx, because max connection has been met) when requested for 3rd or new connection. Is there any possibility that when any connection has been made to transfer data then it will close that connection after completion of task so it will release that connection and will not throw any exception. Could any one help me how can I resolve this issue ?
... View more
Labels:
- Labels:
-
Apache NiFi
03-14-2017
11:39 AM
@aishwarya srivastava Please add below line : <groupId>org.apache.nifi</groupId>
... View more
03-11-2017
02:33 AM
Hi, please check the answer I posted.
... View more
03-10-2017
04:35 PM
2 Kudos
I resolved this issue. This issue occurs when nifi custom processor uses any inbuilt controller service so that custom processor should contain the service API in the custom nar file and for that we have to add dependency in the nar project's pom.xml file. Add the following dependency in the pom.xml file of nar project : <dependency> <groupId>org.apache.nifi</groupId> <artifactId>nifi-standard-services-api-nar</artifactId> <version>1.1.1</version> <type>nar</type> </dependency> Note : change version according to your nifi version. Add these lines and the issue will be resolved.
... View more
03-10-2017
04:24 PM
Hi, You didn't share nar project's pom.xml file. Please share nar project's pom file.
... View more
03-10-2017
11:20 AM
@aishwarya srivastava
Hi, Yes I resolved the issue. Could you please show me your pom.xml file of your processor and nar project ?
... View more
12-19-2016
09:48 AM
Hi, I have implemented custom processor in nifi and used DBService connection pool in the processor. I have built it and put .nar file into lib folder of nifi. When I am creating new DB connection pool then its working fine but when I am using another built in processor or another custom processor along with this where DB connection is required then it gives some errors. It doesn't fetch the connection. For example I have created 1 processor 'ThreatRawProcessor' and using DB connection for the operation and I am using 1 build in processor 'ExecuteSQL' along with custom processor for select the record from table. But the issue is that only cutom processor is able to fetch & use the DB connection but another processors are not able to fetch the connection. Please find the screenshot for the same : CutomProcessor's Configuration : Execute SQL Configuration : Error Message : Code where connection pool is used : Kindly check the below link for screenshot. https://postimg.org/image/8l6vb3xhl/ Kindly help me how to resolve this error & I can get the connection in other processor's also. Thanks in Advance. Regards, Ankit
... View more
Labels:
- Labels:
-
Apache NiFi