Dependency for SSL

2016-05-25 Thread Kumiko Yada
Hello, I'd like to use the following in the custom processor in Nifi 0.6.1, and I added the dependency. However, I'm getting the following errors. Do I need to add something else to correctly handle this dependency? import org.apache.nifi.ssl.SSLContextService; import org.apache.nifi.ssl.SSLC

Re: Dependency for SSL

2016-05-25 Thread Matt Burgess
Kumiko, I'm guessing that entry is in your processor's POM. I believe you need the following in your NAR's POM as well: org.apache.nifi nifi-standard-services-api-nar nar Regards, Matt On Wed, May 25, 2016 at 3:44 PM, Kumiko Yada wrote: > Hello, >

Re: Dependency for SSL

2016-05-25 Thread Bryan Bende
Hello, This Wiki page shows how to setup the dependencies to use the SSLContextService from a custom processor bundle: https://cwiki.apache.org/confluence/display/NIFI/Maven+Projects+for+Extensions#MavenProjectsforExtensions-LinkingProcessorsandControllerServices Thanks, Bryan On Wed, May 25,

Dependencies for StandardValidators & SoftLimitBoundedByteArrayOutputStream

2016-05-25 Thread Kumiko Yada
Hello, I'd like to use the followings in my custom processor, and I'm still getting the build errors that they do not exist. Am I able to use them by additional dependencies, if so what are the missing dependencies or do I need to port the codes? import org.apache.nifi.processor.util.Standard

Re: Dependencies for StandardValidators & SoftLimitBoundedByteArrayOutputStream

2016-05-25 Thread Jeremy Dyer
Kumiko - could you please pass along the build errors you are seeing? Also maybe try adding {desired_nifi_version} (EX: 0.6.1) to each of your dependencies you listed. Depending on the rest of your Maven project setup those could be required. - Jeremy Dyer On Wed, May 25, 2016 at 4:27 PM, Kumiko

Re: Dependencies for StandardValidators & SoftLimitBoundedByteArrayOutputStream

2016-05-25 Thread Russell Bateman
Kumiko, I develop custom processors and these are my Maven dependencies: org.apache.nifi nifi-api ${nifi.version} org.apache.nifi nifi-utils ${nifi.version} org.apache.nifi nifi-processor-utils ${nifi.version} On Wed, May 25, 2016 at 2:27 PM, Kumiko Ya

RE: Dependency for SSL

2016-05-25 Thread Kumiko Yada
Thank you Bryan and Matt. I added the dependency in the pom of processor jar & nar project, and I’m getting the ClassNotFoundException: com.squareup.okhttp.Authenticator error when the Nifi is started. I added the below dependency in pom of processor jar. Do I need to add something else to co

Re: Dependency for SSL

2016-05-25 Thread Matt Burgess
If that library has dependencies, you may need to remove the jar so that it brings in the POM, which should get the JAR and its dependencies. Regards, Matt > On May 25, 2016, at 5:38 PM, Kumiko Yada wrote: > > Thank you Bryan and Matt. > > I added the dependency in the pom of processor jar

RE: Dependencies for StandardValidators & SoftLimitBoundedByteArrayOutputStream

2016-05-25 Thread Kumiko Yada
Adding the version number solved the issue. Thank you! From: Jeremy Dyer [mailto:jdy...@gmail.com] Sent: Wednesday, May 25, 2016 2:29 PM To: users@nifi.apache.org Subject: Re: Dependencies for StandardValidators & SoftLimitBoundedByteArrayOutputStream Kumiko - could you please pass along the bu

DistributedMapCacheServer redundancy

2016-05-25 Thread Andre
Hi there, I have been playing with ListSFTP + FetchSFTP and just wanted to confirm the following: Lets say someone decides to run the above processors together with DistributedMapCacheServer, cluster, wouldn't this introduce a single point of failure to the cluster architecture? My understanding

Guidance for NiFi output streaming

2016-05-25 Thread Stéphane Maarek
Hi, I need to output some data streaming from multiple devices directly into a map (mapboxjs). Basically, every 1 second, I want to only write the last data point for each device to a json file. My problem resides in "how to pick the latest data point by device" My incoming flow file has three a

Re: Guidance for NiFi output streaming

2016-05-25 Thread Stéphane Maarek
I have tried a ControlRate but it doesn't work because it seems to stop processing once the threshold of 1 is reached, even though I set a grouping property (I know there are two different values for my group in my queue). Any clue? On Thu, May 26, 2016 at 2:30 PM Stéphane Maarek wrote: > Hi, >