Re: Custom color for processors.

2017-02-09 Thread Alessio Palma
sition': { 'x': pt.x, 'y': pt.y }, 'style': {background-color: "#85"} } And you can embed color mapping to processorType, perhaps. Hope this helps, Koji On Mon, Feb 6, 2017 at 5:01 PM, Alessio Palma <alessio.pa...@docomodigital.com> wrote: > Hello all, > It's

Custom color for processors.

2017-02-06 Thread Alessio Palma
Hello all, It's fact that each processor can be coloured; there is a way to set a custom default color? What we need is to add a map into nifi configuration so that when a processor is moved into the workbench it already has its own colour. So the question is how much complex is add this

Re: GenerateFlowFile.java

2017-02-02 Thread Alessio Palma
ration will be invoked every sec. So to answer your question in short your use case should be implemented in onTrigger(). However onSchedule() is where you could/should obtain the reference to your service. Does that clarify? Cheers Oleg > On Feb 2, 2017, at 4:43 AM, Alessio Palma &l

GenerateFlowFile.java

2017-02-02 Thread Alessio Palma
Hello all, I'm reading the GenerateFlowFile processor, which is started with no input files. I need to write a processor very close to this one, which accept no files, but when scheduled has to output into the queue the file returned from a service it calls. I did not understand how the

Re: IllegalStateException: FlowFile[1,71039521870109.mockFlowFile,0B] has already been transferred

2017-02-01 Thread Alessio Palma
cause session.transfer() to be called on the same flow file more than once. Regards, Matt On Wed, Feb 1, 2017 at 8:26 AM, Alessio Palma <alessio.pa...@docomodigital.com> wrote: > Hello all, > > I'm working to a processor and a service. > > My work is based on source c

IllegalStateException: FlowFile[1,71039521870109.mockFlowFile,0B] has already been transferred

2017-02-01 Thread Alessio Palma
Hello all, I'm working to a processor and a service. My work is based on source codes from https://github.com/pcgrenier/nifi-examples/tree/sample-processor My problem is this code runner = TestRunners.newTestRunner(new StartProcessor()); : .

Re: Service to handle workflow start/stop

2017-01-24 Thread Alessio Palma
ee if that meets your needs. Thanks Joe On Mon, Jan 23, 2017 at 10:59 AM, Alessio Palma <alessio.pa...@docomodigital.com> wrote: > Hello all, > > before starting diving into the code I have a little question: > > It's possible to write a service connected to process

Service to handle workflow start/stop

2017-01-23 Thread Alessio Palma
Hello all, before starting diving into the code I have a little question: It's possible to write a service connected to processor which can be used to start workflows ? Scenario is this: Currently we can start workflows using a schedule strategy, I like to move this logic into a service which

Re: NIFI 1.1.0 build error

2016-12-16 Thread Alessio Palma
o > > > > You should not need any sort of special settings.xml file for this to > > work. Just grabbing a default maven install and following our dev > > guide should be sufficient. If you do have one that is altered it > > might be changing important details. >

Re: NIFI 1.1.0 build error

2016-12-15 Thread Alessio Palma
ls. > > Thanks > Joe > > On Thu, Dec 15, 2016 at 8:10 AM, Alessio Palma > <alessio.pa...@docomodigital.com> wrote: >> Can I have your settings.xml which is located in ~/.m2 ? >> >> >> From: Oleg Zhurakousky <o

Re: NIFI 1.1.0 build error

2016-12-15 Thread Alessio Palma
en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.11.2", arch: "x86_64", family: "mac" Cheers Oleg > On Dec 15, 2016, at 6:49 AM, Alessio Palma <alessio.pa...@docomodigital.com> > wrote: > > Hello all, > > I downloaded

NIFI 1.1.0 build error

2016-12-15 Thread Alessio Palma
Hello all, I downloaded the source code from http://apache.panu.it/nifi/1.1.0/nifi-1.1.0-source-release.zip then unpacked the archivie and executed: mvn dependency:purge-local-repository mvn clean install and I got this: [ERROR] Failed to execute goal

Re: Disconnected node log, can you explain what is happening ?

2016-11-22 Thread Alessio Palma
ber 22, 2016 2:25:47 PM To: dev@nifi.apache.org Subject: Re: Disconnected node log, can you explain what is happening ? Hello Alessio The concerning bit from the log is the ClassCastException. Have you altered the lib folder in some way? Thanks Joe On Tue, Nov 22, 2016 at 8:22 AM, Alessio

Re: HiveConnectionPool - Invalid connections are returned

2016-11-21 Thread Alessio Palma
Matt, your patch does work. The nightmare has ended :) If not yet included, in my opinion, is better to include it into NIFI 1.1.0. AP From: Alessio Palma <alessio.pa...@docomodigital.com> Sent: Wednesday, November 16, 2016 8:26:46 AM To: dev@nifi.apac

Re: HiveConnectionPool - Invalid connections are returned

2016-11-16 Thread Alessio Palma
tup, I would be interested to know if it solves the problem. Regards, Matt [1] https://issues.apache.org/jira/browse/NIFI-2381 [2] https://github.com/mattyb149/nifi/commits/NIFI-2927 On Tue, Nov 15, 2016 at 5:20 AM, Alessio Palma <alessio.pa...@docomodigital.com> wrote: > Hello all, >

HiveConnectionPool - Invalid connections are returned

2016-11-15 Thread Alessio Palma
Hello all, is there any way to speed up this https://issues.apache.org/jira/browse/NIFI-2927 or can I have some pointers about how to start to fix it ? This problem has become critical for our purposes. Thanks for your time.