Re: Processors on the fly for many sensor devices

2016-11-01 Thread Andrew Psaltis
Good morning Davy, I have all (barring tests that fail) code in place to fulfill NIFI-2615 [1]. I plan on wrapping up the testing of it today and submitting a P/R. One thing to call out is that at present it is it's own module. However, I plan on adding it to the NiFi Standard Processor bundle befo

Does NiFi ConsumeJMS Processor supports OpenJMS?

2016-11-01 Thread Nirmal Kumar
Hi All, I am trying to read messages from openjms-0.7.7 using the ConsumeJMS Processor but getting following exception: 2016-11-01 14:43:17,260 ERROR [Timer-Driven Process Thread-4] o.apache.nifi.jms.processors.ConsumeJMS ConsumeJMS - JMSConsumer[destination:queue1; pub-sub:false;] ConsumeJMS

Re: Does NiFi ConsumeJMS Processor supports OpenJMS?

2016-11-01 Thread Oleg Zhurakousky
Nirmal While ConsumeJMS was developed and tested with the idea of supporting multiple providers, ‘openjms’ was not the one that it was tested with. I will look at the error and will follow up, but the fact that it already shows NPE means we have a bug somewhere, so please raise the JIRA (https:

Re: Does NiFi ConsumeJMS Processor supports OpenJMS?

2016-11-01 Thread Oleg Zhurakousky
Nirmal Did some digging and the NPE is due to the fact that we are invoking a default constructor for whatever connection factory class is provided (i.e., ‘org.exolab.jms.client.JmsConnectionFactory’). And that works for most major JMS providers, however for OpenJMS after looking at the code it

PutS3Object error

2016-11-01 Thread John Burns
Hi, I am getting a strange error when writing a png to a public S3 bucket nifibucket.s3-eu-west-1.amazonaws.com: It seems to be an UnknownHostException but I can access the bucket XML fine in the browser. The processor flow is simply GetFile -> PutS3Object Any info welcome. Thanks John com.a

Re: PutS3Object error

2016-11-01 Thread James Wing
John, When you configure the PutS3Object processor, you should configure the Bucket Name as just 'nifibucket' (without quotes), and set the Region to 'eu-west-1'. You do not need the long-form ' nifibucket.s3-eu-west-1.amazonaws.com', I think that might be what is confusing it. Thanks, James O

Re: PutS3Object error

2016-11-01 Thread John Burns
Hi James Actually I have already configured it as you mention and the error persists. The key and secret key are set correctly too. Do I need to modify my /etc/hosts perhaps? Thanks John On Nov 1, 2016 20:53, "James Wing" wrote: > John, > > When you configure the PutS3Object processor, you s

Re: PutS3Object error

2016-11-01 Thread James Wing
You should not need to modify your hosts file. Can you try using the AWS CLI tools to list the bucket from the same machine running NiFi? Something like: aws s3 ls s3://nifibucket/ If that is working, you should have all the required network connectivity. Also, would you please describe any oth

Re: Does NiFi ConsumeJMS Processor supports OpenJMS?

2016-11-01 Thread Nirmal Kumar
Thanks Oleg for debugging the issue. I will raise a JIRA and share the details in the mail thread. -Nirmal From: Oleg Zhurakousky Sent: Tuesday, 1 November, 7:27 PM Subject: Re: Does NiFi ConsumeJMS Processor supports OpenJMS? To: users@nifi.apache.org Nirmal Did some digging and the NPE is du