Re: Custom color for processors.

2017-02-09 Thread Alessio Palma
: name, 'position': { '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 wrote: > Hello all

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 feature

Re: GenerateFlowFile.java

2017-02-02 Thread Alessio Palma
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 > wrote: > > Hello all, > &g

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 fram

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

2017-02-01 Thread Alessio Palma
the same flow file more than once. Regards, Matt On Wed, Feb 1, 2017 at 8:26 AM, Alessio Palma wrote: > Hello all, > > I'm working to a processor and a service. > > My work is based on source codes from > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2

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()); : . runner.enqueue

Re: Service to handle workflow start/stop

2017-01-24 Thread Alessio Palma
ntion to see if that meets your needs. Thanks Joe On Mon, Jan 23, 2017 at 10:59 AM, Alessio Palma wrote: > 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 w

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 b

Re: NIFI 1.1.0 build error

2016-12-16 Thread Alessio Palma
; 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 changin

Re: NIFI 1.1.0 build error

2016-12-15 Thread Alessio Palma
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. > > Thanks > Joe > > On Thu, Dec 15, 201

Re: NIFI 1.1.0 build error

2016-12-15 Thread Alessio Palma
: "mac os x", version: "10.11.2", arch: "x86_64", family: "mac" Cheers Oleg > On Dec 15, 2016, at 6:49 AM, Alessio Palma > wrote: > > Hello all, > > I downloaded the source code from > > > http://apache.panu.it/nifi/1.1.0/nifi-1.1

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 org.apache.maven.plugins:maven-rem

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

2016-11-22 Thread Alessio Palma
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 Palma wrote: > Hello al

Disconnected node log, can you explain what is happening ?

2016-11-22 Thread Alessio Palma
Hello all, I'm working on 3 nodes cluster, sometimes nodes get disconnected and there is no way to connect them again using the Cluster menu. I checked the logs and this is what is reported, can you explain what is going on ? AP 2016-11-22 11:17:41,943 INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.

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 Sent: Wednesday, November 16, 2016 8:26:46 AM To: dev@nifi.apache.org Subject: Re: HiveConnectionPool

Re: HiveConnectionPool - Invalid connections are returned

2016-11-16 Thread Alessio Palma
erested 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 wrote: > Hello all, > > is there any way to speed up this > > https

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.