Re: [EXT] Re: Please refresh my memory on NAR dependencies

2017-10-15 Thread Koji Kawamura
Peter, Matt, If the goal is sharing org.apache.nifi.csv.CSVUtils among modules, an alternative approach is moving CSVUtils to nifi-standard-record-util and add ordinary JAR dependency from nifi-poi-processors. How do you think? Thanks, Koji On Mon, Oct 16, 2017 at 12:17 PM, Peter Wicks (pwicks)

RE: [EXT] Re: Please refresh my memory on NAR dependencies

2017-10-15 Thread Peter Wicks (pwicks)
Matt, I am trying to re-use most of CSVUtils, including most of the property descriptors and CSVUtils.createCSVFormat. It seemed like a waste to duplicate the entire class. I can try making it the parent, what are the implications if I do that? Thanks, Peter -Original Message-

RE: [EXT] Re: Funnel Queue Slowness

2017-10-15 Thread Peter Wicks (pwicks)
Joe, It really is about just forgetting that penalization is a thing. Penalized files are fairly well marked when you do a List Queue. I think Funnel's need an overall re-examination. I noticed another quirk the other day when moving queues around that already contained FlowFiles; Funnel's

Re: Please refresh my memory on NAR dependencies

2017-10-15 Thread Matt Burgess
Do you have a hard requirement on the implementations in nifi-record-serialization-services? Otherwise, the existing examples have the processor POM pointing at the following: org.apache.nifi nifi-record-serialization-service-api which is the API JAR I think. If you need the

Please refresh my memory on NAR dependencies

2017-10-15 Thread Peter Wicks (pwicks)
For NIFI-4465 I want the nifi-poi-bundle to include a Maven dependency on nifi-record-serialization-services. So I start by adding the dependency to the pom.xml. org.apache.nifi nifi-record-serialization-services I've tried several variations on this, with version numbers,

Re: MINIFI-403 and JsonParseException

2017-10-15 Thread Aldrin Piri
Hey Jeff, On phone so apologies for brevity. This is the same root cause as MINIFI-405. Not expected and biproduct of the classpath issues from before and associates transitive dependencies getting lost in the process. If you would like to add on to 405 with your config as an additional

Re: nifi: How to update and trnaform xml file inside ExecuteScript processor

2017-10-15 Thread Joey Frazee
Sally, there are better ways to approach this: - First, the default for transforming XML should be to use TransformXml [1] with an XSLT. It kinda looks like you’re also trying to extract some elements into attributes so I’d look at EvaluateXPath [2] too. Your flow would then look like [_] -->

MINIFI-403 and JsonParseException

2017-10-15 Thread Jeff Zemerick
Hi all, While working on Java MiNiFi in the master branch I ran into a NoClassDefFoundError for org.codehaus.jackson.JsonParseException (stack trace at the bottom) when MiNiFi starts. Thinking I had not seen this before I reverted MINIFI-403 since it dealt with dependencies, rebuilt, and the