Member since
09-29-2015
33
Posts
34
Kudos Received
8
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
6232 | 05-09-2017 04:00 PM | |
1305 | 12-08-2016 01:04 PM | |
1291 | 12-06-2016 01:57 PM | |
9149 | 11-03-2016 02:10 PM | |
4706 | 11-01-2016 05:01 PM |
11-09-2016
01:14 PM
As was previously mentioned, the content type is specified in the flowfile attribute mime.type. Some Processors will automatically set this value. However, UpdateAttribute can be used to explicitly set it. There is no content viewer for HTML bundled with Apache NiFi currently. This is an extension point so one could be developed and dropped into your instance. Alternatively, you could just use application/xml or text/plain.
... View more
11-03-2016
02:10 PM
3 Kudos
Indranil Roy, For Apache NiFi 1.0.0 the REST API was completely refactored to promote multi-tenancy. Specifically, the endpoints have been reorganized to align with the resources being authorized and component specific revisions have been introduced. I would highly recommend using the Developer Tools in your browser to see the APIs in action. Here is an example curl commend for starting a processor. curl 'http://localhost:8080/nifi-api/processors/2a817541-0158-1000-771e-93ca6d670429' -X PUT -H 'Content-Type: application/json' -H 'Accept: application/json, text/javascript, */*; q=0.01' --data-binary '{"revision":{"clientId":"2a81087c-0158-1000-1362-5452a699615c","version":3},"component":{"id":"2a817541-0158-1000-771e-93ca6d670429","state":"RUNNING"}}' In order to get the revision details for this component it would be available in the flow returned for a given process group. Here's an example of that curl commend. curl 'http://localhost:8080/nifi-api/flow/process-groups/<process-group-id>'
... View more
11-01-2016
05:08 PM
Technically, IE 11 is not a supported browser [1]. Would it be possible to try Chrome, Firefox, or Microsoft Edge? [1] https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#browser-support
... View more
11-01-2016
05:01 PM
What browser are you using? Is the browser you're using also on the Windows Server? In your browser, are you able to open up the Developer Tools and look at the network traffic? It would help to narrow down where the 'slowless' is being introduced. It could be due to client side (browser) performance specifically if your flow has many components. It could be introduced simply by network latency. It could also be introduced server side while NiFi is handling the request and generating a response (particularly if clustered).
... View more
09-16-2016
06:21 PM
1 Kudo
The documentation for a given release can be accessed directly from within the application. Navigate to your NiFi UI and click the 'help' link in the upper right hand corner. Scroll to the bottom of the pane on the left hand side and click 'Rest Api'.
... View more
09-15-2016
12:50 PM
The documentation on the website will be for the most recently released version of Apache NiFi (specifically 1.0.0). When this question was asked Apache NiFi was still on the 0.x baseline. In 1.x bulletins are available through the bulletin-board endpoint /nifi-api/flow/bulletin-board or bundled with each component. For instance, /nifi-api/flow/process-groups/{id} for all components under some process group or /nifi-api/processors/{id} for a specific processor.
... View more
09-08-2016
05:26 PM
What do you mean by local authentication? Using Kerberos authentication, Apache NiFi supports using a local ticket via SPNEGO. Apache NiFi 0.x (which maps to HDF 1.x) supports authentication using client certificates, LDAP, and Kerberos. This also applies to Apache NiFi 1.x.
... View more
06-27-2016
02:46 PM
1 Kudo
James, Sorry for the delay response here. The issue your describing was a bug and it has been addressed in the upcoming NiFi 0.7.0 release. Here's the JIRA in question [1]. Sorry for the inconvenience. Matt [1] https://issues.apache.org/jira/browse/NIFI-1564
... View more
03-28-2016
01:54 PM
2 Kudos
The bulletins are available through the Rest Api. They are accessed primarily through two different endpoints. /controller/status Return controller level status. This will include status and bulletins for cluster/node issues, reporting tasks, and controller services. /controller/process-groups/{id}/status Return process group specific status. This will include status and bulletins for all components in the specified process group. This endpoint supports a recursive flag to indicate whether status for all descendent components is included.
... View more
11-05-2015
05:54 PM
Requests to NiFi's REST API to change the data flow (mutable requests) require a revision to be included. Since multiple users may be working with the same NiFi instance at the same time, this is used as a simple check to verify the user who submitted the request acknowledges they have the most current version of the data flow before applying their change. The revision is comprised of two pieces. The first is the version. The version is a one-up number that is updated by NiFi during a mutable request and is included in the response. The next mutable request should include that updated version. This works well until a user wants to submit multiple requests concurrently. To support this case the revision also includes a clientId. If the clientId in the revision of the current request matches the clientId of the last successful mutable request, the version does not need to match. It is up to the client to manage the revision version and check with http://{host}:{port}/nifi-api/controller/revision in order to see if another client has updated the flow. The clientId can be any string. It's accepted in most endpoints so it could be added to requests in $.ajaxSetup for instance. If the clientId is not specified one will be generated. There is no session, it's simply generates a UUID. You could use any string you may want to represent your client. In the NiFi UI, we GET the flow http://{host}:{port}/nifi-api/controller/process-groups/root?verbose=true and use the clientId that it generates for all subsequent requests.
... View more
- « Previous
- Next »