Re: PostHttp processor: read timeout error (socketTimeoutException)

2016-11-22 Thread balacode63
Thanks Andrew,
Will check with influxdb mail list.



--
View this message in context: 
http://apache-nifi-developer-list.39713.n7.nabble.com/PostHttp-processor-read-timeout-error-socketTimeoutException-tp13879p13946.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.


Re: nifi configuration file for process group

2016-11-22 Thread balacode63
Thanks for your detailed reply  Joseph Percivalllinkedin.
Yes Im using multiple http processors. As you suggested , I will try to
explore  Getfile and extracttext processors.

Sorry for the late reply.

Thanks Again.




--
View this message in context: 
http://apache-nifi-developer-list.39713.n7.nabble.com/nifi-configuration-file-for-process-group-tp13908p13945.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.


nifi configuration file for process group

2016-11-17 Thread balacode63
Hi all,

My use case is,

1)Process group A is having 10 processors which uses same ip address
ex(192.168.1.1) for some processing. ex http post
2) if this ip address is changed, i need to update all the processors.
3) is there any way i can handle this in a configuration file in nifi?
ex: this configuration data will be used across different processors

Please guide me
Thanks,
Bala









--
View this message in context: 
http://apache-nifi-developer-list.39713.n7.nabble.com/nifi-configuration-file-for-process-group-tp13908.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.


PostHttp processor: read timeout error (socketTimeoutException)

2016-11-14 Thread balacode63
Hi all,

I'm using /postHttp/ processor to post data to influxdb. I'm getting the
following error frequently.

/"Failed to Post.due to java.net.SocketTimeoutException:Read timed out;
transferring to failure: java.net.SocketTimeoutException:Read timed out;"
/
 

Properties for posthttp processor:
Data timeout: 60 seconds
Connection timeout: 60 seconds

Note:
Influxdb and nifi are running in different servers.

Please guide me to fix this issue.

Thanks,
Bala





--
View this message in context: 
http://apache-nifi-developer-list.39713.n7.nabble.com/PostHttp-processor-read-timeout-error-socketTimeoutException-tp13879.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.


Re: Nifi ExecuteScript slow performance

2016-11-01 Thread balacode63
Thanks for the reply Joe,

As matt suggested we moved to groovy. 

Thanks
Bala



--
View this message in context: 
http://apache-nifi-developer-list.39713.n7.nabble.com/Nifi-ExecuteScript-slow-performance-tp13735p13782.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.


Re: Nifi ExecuteScript slow performance

2016-11-01 Thread balacode63
Thanks for the reply matt, 
Jython is slow, As you suggested we moved to groovy. ExecuteScript is taking
more than 2 seconds to execute below high level logic

The logic: 
1) Split data from flowfile
2) Query influxdb with splitted data (influxdb jar file used/external
dependency)
3) write to influxdb
4) write flow file attributes

Without influxdb calling, the code is fast. Can you suggest me about
improving the performance of the below mentioned groovy script



Thanks
Bala




--
View this message in context: 
http://apache-nifi-developer-list.39713.n7.nabble.com/Nifi-ExecuteScript-slow-performance-tp13735p13781.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.


Nifi ExecuteScript slow performance

2016-10-27 Thread balacode63
Dear All,

I've added a ExecuteScript in python. This script is a simple script which
will just add one attribute to the flowfile. The flow is definded as below,

   1. Listen from mqtt (ConsumeMQTT)
   2. Add attribute to nifi flow (Execute script)
   3. Write to a file/post/ or some custom logic

But its taking 3 seconds to process. Please guide me.

Thanks,
Bala



--
View this message in context: 
http://apache-nifi-developer-list.39713.n7.nabble.com/Nifi-ExecuteScript-slow-performance-tp13735.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.