Re: API 1.0 questions

2016-10-18 Thread Koji Kawamura
Hello, I was able to start/stop processors using 1.0 API. I am not sure if the API has changed from 0.x but, it seems you don't have to increment the revision. I used the same revision that is returned by NiFi. Here is an example (it's Javascript):

cannot add working users to nifi

2016-10-18 Thread Alessio Palma
Hello I did setup a 3 hosts nifi cluster, I followed the docs ( administration guide ) and now each user I add has no access. Can login but cannot do anything but see the users on the system. Is there an alternative setup procedure I can follow? User I added has been granted with same groups and

API 1.0 questions

2016-10-18 Thread ruaraidh jay-chalmer
Hi, I have been working on a few python tools that use the NiFi Rest API to do a few checks and commands here and there. Since the goal is mainly monitoring, stopping a processor is a very useful tool. In the previous version of the API (~0.7) I managed this by creating a dictionary with purely

Build failure under CentOS 6.7

2016-10-18 Thread Giordano, Michael
I am currently following the NiFi QuickStart to get my first NiFi server up and running under CentOS 6.7. I am getting compile failures and I'm not sure why. I started from an empty directory as root (with full permissions) on a test machine with SELinux disabled. # git clone

Re: Flow file from a (long) string

2016-10-18 Thread Matt Burgess
Alessio, The ReplaceText processor [1] will allow you to set the content of a flow file to a string of your choosing. You can use GenerateFlowFile [2] with a size of 0B and type Text, to get a flow file routed to ReplaceText, which then sets the content. This is a common pattern seen in some of

Re: cannot add working users to nifi

2016-10-18 Thread Bryan Bende
Hello, Assuming you were starting with a new cluster, the initial admin user is granted access to modify users, groups, and policies, but nothing else. The idea being they can then grant access to whatever else they want to. It sounds like you need to create a policy for the root process group

Re: API 1.0 questions

2016-10-18 Thread ruaraidh jay-chalmer
Thanks a lot for your help! I was missing the Id in components (and like you said, no need to increment version). You've saved me a lot of time, thanks again :) Wishing you a pleasant day! 2016-10-18 12:36 GMT+02:00 Koji Kawamura : > Hello, > > I was able to start/stop

Flow file from a (long) string

2016-10-18 Thread Alessio Palma
Hello, is there a processor which allows to build a flowfile from a string? Basically I have some huge queries and want to add them into the workflow without load them from file or database. AP

Re: Nifi processeror's input form

2016-10-18 Thread Yari Marchetti
Done, https://issues.apache.org/jira/browse/NIFI-2913. Thanks, Yari p.s. Could not add images because cannot upload them, hope it's clear anyway On 18 October 2016 at 17:48, Joe Witt wrote: > Yari > > Definitely sounds like a bug and I agree it is 'unhandy' when stated in

RE: Build failure under CentOS 6.7

2016-10-18 Thread Giordano, Michael
Russell, Thank you for the pointer much easier :) Mike G. From: Russell Bateman [mailto:russell.bate...@perfectsearchcorp.com] Sent: Tuesday, October 18, 2016 11:32 AM To: users@nifi.apache.org Subject: Re: Build failure under CentOS 6.7 Michael, You don't have to build NiFi yourself to

Re: Build failure under CentOS 6.7

2016-10-18 Thread Russell Bateman
Michael, You don't have to build NiFi yourself to get going, you can just download pre-built "binaries". It's written in Java, so there are no platform gotchas at all: https://nifi.apache.org/download.html On 10/18/2016 07:36 AM, Giordano, Michael wrote: I am currently following the NiFi

Re: Nifi template for Facebook api

2016-10-18 Thread Matt Burgess
I'm not aware of any existing templates, but one of my Stack Overflow answers [1] refers to the processor(s) used, as well as a link to a lengthy discussion about SSL/auth topics thanks to Andy LoPresto. Regards, Matt [1]

RE: Build failure under CentOS 6.7

2016-10-18 Thread Giordano, Michael
Andy, I’ve never done this before. I hope I did it right. https://gist.github.com/cissmjg/544be6c1e1f571bd97177a55eb088c1a I attempted to build NiFi with the ‘default’ mvn commands from the QuickStart page. If you need me to build with other options, please let me know. Thanks, Mike G. From:

Re: Build failure under CentOS 6.7

2016-10-18 Thread Andy LoPresto
Thanks Michael. I'll review this when I am back at my keyboard. Andy LoPresto alopre...@apache.org alopresto.apa...@gmail.com PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7D EF69 > On Oct 18, 2016, at 12:08, Andy LoPresto wrote: > > Michael, > > Just to

RE: Build failure under CentOS 6.7

2016-10-18 Thread Giordano, Michael
“Can you confirm the JDK is installed and available from your build? “ And this is what one gets when one asks some else “Can you please install java on machine ‘X’?” You get a JRE installed and not a JDK. Strictly a PICNIC problem here …. Sorry for the noise! Mike G. From: Aldrin Piri

Re: PutDynamoDB processor

2016-10-18 Thread Gop Krr
Hi James, I have started exploring the option of building the scan operator for the DynamoDB. I will let you know, how is it going. Thanks Rai On Fri, Oct 14, 2016 at 11:42 AM, James Wing wrote: > Correct, but I'm afraid I'm no expert on DynamoDB. It is my understanding >

Re: Build failure under CentOS 6.7

2016-10-18 Thread Aldrin Piri
Hey Michael, Can you confirm the JDK is installed and available from your build? Does `javac -version` return appropriately? Is JAVA_HOME set? If not, could you set it to the location of your JDK? If it is, can you verify the bin directory associated with it contains a javac? The culprit

RE: Build failure under CentOS 6.7

2016-10-18 Thread Giordano, Michael
Running "mvn clean install" gave me a failure on just the nifi-api [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project nifi-api: Compilation failure -> [Help 1] Mike G. -Original Message- From: Matt Burgess

Re: Build failure under CentOS 6.7

2016-10-18 Thread Andy LoPresto
No worries. Thanks for helping us track this down. Andy LoPresto alopre...@apache.org alopresto.apa...@gmail.com PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7D EF69 > On Oct 18, 2016, at 1:07 PM, Giordano, Michael > wrote: > > “Can you confirm