Possible problem with DBCPConnectionPool 1.12.1

2021-04-19 Thread Carlos Manuel Fernandes (DSI)
Hello, After upgrading to Nifi 1.13.2 from Nifi 1.9.2, I notice a problem with DBCPConnectionPool, several connections remain on pool above 'Max Idle Connections' number after the 'Minimum Evictable Idle Time' is passed'. To reproduce the issue I use a simple flow: ExecuteSql (Concurrent Tas

Re: Possible problem with DBCPConnectionPool 1.12.1

2021-04-19 Thread Matt Burgess
Carlos, >From the DBCP doc: If maxIdle is set too low on heavily loaded systems it is possible you will see connections being closed and almost immediately new connections being opened. This is a result of the active threads momentarily closing connections faster than they are opening them, causi

ExecuteStreamCommand for piped commands

2021-04-19 Thread James McMahon
Good evening. I’d like to do a file count of ${directory}. I can use an ExecuteStreamCommand processor with that as Command Arguments and ls as Command Path. I’ll set Output Destination Attribute to be myFileCount, and will drop Max Attribute Length to ten. That will be ample characters for my coun

Re: ExecuteStreamCommand for piped commands

2021-04-19 Thread Otto Fowler
Piping is part of the shell I believe, so you can’t do it with arguments in that way. If you make your shell the executable however, you should then be able to pass things as separate arguments. I would start with "/bin/sh” as the executable and arguments of "-c” “ls | ws -l” Or, you can wri

Re: Creating recursive missing folders with PutSmbFile

2021-04-19 Thread Jens M. Kofoed
Hi I need some help/guides on how to Fetch and build the PR-4585 for NIFI-7863 so I can build it and test it. I have created a new VM with Ubuntu 20. Installed Maven, GIT and Java. I used GIT to sync the git-wip-us.apache.org/repos/asf/nifi.git I tried to make a full build, but 2 NAR's failed. I