RE: [DISCUSS] Proposal for an Apache NiFi sub-project - NiFi Registry

2017-02-08 Thread Ricky Saltzer
I'm a big +1 to this proposal. It would solve a huge burden that is keeping NARs up to date in environments where there's alot of teams that share NARs but have separate NiFi deployments and repositories. On Feb 8, 2017 7:09 PM, "Peter Wicks (pwicks)" wrote: > I think a lot

Re: Build failure on Mac OS X with DS_STORE files

2017-02-08 Thread Otto Fowler
If it turns out that this *is* something you would like addressed, I can do the jira and the PR On February 8, 2017 at 23:13:16, Otto Fowler (ottobackwa...@gmail.com) wrote: @Test public void testGetURLsForClasspathWithDirectory() throws MalformedURLException { final String jarFilePath =

Re: Build failure on Mac OS X with DS_STORE files

2017-02-08 Thread Otto Fowler
@Test public void testGetURLsForClasspathWithDirectory() throws MalformedURLException { final String jarFilePath = "src/test/resources/TestClassLoaderUtils"; URL[] urls = ClassLoaderUtils.getURLsForClasspath(jarFilePath, (dir,name)->name.compareTo(".DS_Store") == 0, false);

Build failure on Mac OS X with DS_STORE files

2017-02-08 Thread Otto Fowler
Hi, I’m trying to build master on Mac OS X, following the instructions from the site linked in the README.md. My build is failing because the unit test: testGetURLsForClasspathWithDirectory in TestClassLoaderUtils. It is trying to URLs from a directory, and is expecting 2, but gets 3, because

[DISCUSS] Proposal for an Apache NiFi sub-project - NiFi Registry

2017-02-08 Thread Bryan Bende
NiFi Community, I'd like to initiate a discussion around creating a sub-project of NiFi to encompass the registry capabilities outlined in several of the feature proposals on the Wiki [1]. A possible name for this sub-project is simply "NiFi Registry". Currently there are two feature proposals

Re: How restart and clear state for listHDFS processor

2017-02-08 Thread Matt Gilman
If you do a GET for that processor the response will contain the current revision (clientId + version). When you submit a mutable request, you must have the most up to date revision version, or have the same clientId that successfully made the last modification. This ensures that a given client is

Re: How restart and clear state for listHDFS processor

2017-02-08 Thread maykiwogno
I received new error Node localhost:9443 is unable to fulfill this request due to: [6, f35559c1-0dd3-4009-af0f-26fceaa0ec72, b0c63454-89a8-15ef-be22-959bd4a72e5a] is not the most up-to-date revision. This component appears to have been modified

Re: PutFile,PutHDFS handle similar properties differently

2017-02-08 Thread Michael Moser
It appears that PutFile "Permissions" supports expression language which makes static validation harder, whereas PutHDFS "Permissions umask" does not support expression language. I would prefer the PutFile approach. Making more properties support expression language seems reasonable. I think

Re: How restart and clear state for listHDFS processor

2017-02-08 Thread Matt Gilman
If you're receiving a 405 I think it's unable to find a matching endpoint for the Action/URL/Content-type/Accepts combination. If you're trying to update an existing Processor you'll want to PUT http://localhost:8080/nifi-api/processors/b0c63454-89a8- 15ef-be22-959bd4a72e5a

Re: How restart and clear state for listHDFS processor

2017-02-08 Thread maykiwogno
Thanks, already try with RUNNING but it is same result.. -- View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/How-restart-and-clear-state-for-listHDFS-processor-tp14616p14623.html Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.

Re: How restart and clear state for listHDFS processor

2017-02-08 Thread Aldrin Piri
I believe you will need to specify a state of "STOPPING" instead of "STOPPED". STOPPING signals the framework to initiate the change with STOPPED being the end state after this transition. On Wed, Feb 8, 2017 at 8:01 AM, maykiwogno wrote: > Thanks, > > before clear state,

Re: How restart and clear state for listHDFS processor

2017-02-08 Thread maykiwogno
Thanks, before clear state, we need stop processor. Could you please tell me that missing in this payload, i retrieve HTTP 405 ? { "bulletins": [], "component": { }, "restricted": false, "state": "STOPPED", "style": {}, "supportsBatching": false,

FINAL REMINDER: CFP for ApacheCon closes February 11th

2017-02-08 Thread Rich Bowen
Dear Apache Enthusiast, This is your FINAL reminder that the Call for Papers (CFP) for ApacheCon Miami is closing this weekend - February 11th. This is your final opportunity to submit a talk for consideration at this event. This year, we are running several mini conferences in conjunction with

Re: How restart and clear state for listHDFS processor

2017-02-08 Thread Pierre Villard
I'd recommend the REST API documentation here: https://nifi.apache.org/docs/nifi-docs/rest-api/ In particular you have : POST /processors/{id}/state/clear-requests Hope this helps. 2017-02-08 13:10 GMT+01:00 maykiwogno : > @Pierre : thanks, sorry, i would like to said how

Re: How restart and clear state for listHDFS processor

2017-02-08 Thread maykiwogno
@Pierre : thanks, sorry, i would like to said how do it with script or something like that. -- View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/How-restart-and-clear-state-for-listHDFS-processor-tp14616p14618.html Sent from the Apache NiFi Developer List

Re: How restart and clear state for listHDFS processor

2017-02-08 Thread Pierre Villard
Hi, You can do the following: stop the processor, right click on it, view state, and clear state. Restart your processor. Hope this helps. 2017-02-08 13:00 GMT+01:00 maykiwogno : > Hi all, > > I would like to use listHDFS with deleteHDFS processors to delete the > files

How restart and clear state for listHDFS processor

2017-02-08 Thread maykiwogno
Hi all, I would like to use listHDFS with deleteHDFS processors to delete the files older than 3 months. How it is possible to clear state of listHDFS processor to has new flowfiles to delete ? thanks all -- View this message in context:

Re: what to do

2017-02-08 Thread Matt Burgess
Bernie, Aldrin replied to your initial email yesterday (see below), did you subscribe to the dev list (by sending an email to dev-subscr...@nifi.apache.org)? If not then you may not receive responses (I've CC'd your email here this time). Regards, Matt Hi Bernie, Sorry you have had some

what to do

2017-02-08 Thread Bernie
I emailed last evening, having no online resource to figure out why the windows' NiFi 1.1.1 cannot find one of its own objects, which does exist where the NiFi expected it at least within the source tree but it clearly is not a compiled object. The .cargo/bin directory IS within the %PATH%

what to do

2017-02-08 Thread Bernie
I emailed last evening, having no online resource to figure out why the windows’ NiFi 1.1.1 cannot find one of its own objects, which does exist where the NiFi expected it at least within the source tree but it clearly is not a compiled object. The .cargo/bin directory IS within the %PATH%