Member since
05-24-2018
8
Posts
0
Kudos Received
0
Solutions
06-22-2018
04:43 AM
I have designed a Data Flow Process using Nifi 1.6
locally. Now when I am running the flow I want to know the status of the
individual process instance running (not of component). Is nifi maintain statuses like new ,
active , failed ,completed etc. of process instance. I have tried to use nifi
api ( /nifi-api/flow/process-groups/{process group id}/status) to fetch the
status but it is only giving statuses of components/processors in the group .
... View more
06-21-2018
12:32 PM
I am currently engaged in one project where I have to run
thousands of process on Nifi. I wanted to check status of each individual
running process and later to show status on a dashboard. But I am not finding
any solution for this requirement. Is the data repository help in this
requirement. Can anyone provide me solution for my requirement.
... View more
Labels:
- Labels:
-
Apache NiFi
05-25-2018
05:00 AM
I have tried to hit template creation call within 1 minute of snippet creation but I am getting response 'A process group in this snippet could not be found.' in that case. Any idea why I am getting this response.
... View more
05-24-2018
10:43 AM
To add some more information: I am getting response 'A process group in this snippet could not be found.' initially. The response message 'Unable to find snippet with id....' may be related to time elapsed between generation of snippet id and hitting next API.
... View more
05-24-2018
10:12 AM
I am doing a small POC in which I want to create a template using NiFi Rest API. I have first used nifi-api/flow/process-groups/parentProcessGroupUUID API to fetch Process Group details. The process that I have used is a single processor (invokeHTTP) process.I have successfully got response for this API. API url used by me is http://hostname:port/nifi-api/flow/process-groups/688f3e9f-0163-1000-2c60-a8fcd62f0965 After first step I have tried nifi-api/snippets API to get a snippet Id.I have successfully received the response.Below are the request and response details. API url: http://hostname:port/nifi-api/snippets (POST) Request: {
"snippet": {
"parentGroupId": "688f3e9f-0163-1000-2c60-a8fcd62f0965",
"processors": {},
"funnels": {},
"inputPorts": {},
"outputPorts": {},
"remoteProcessGroups": {},
"processGroups": {
"688f3e9f-0163-1000-2c60-a8fcd62f0965": {
"clientId": "688f3e9f-0163-1000-2c60-a8fcd62f0965",
"version": 1
}
},
"connections": {},
"labels": {}
}
} Response: {
"snippet": {
"id": "917095c4-0163-1000-3b8d-2a95f3a9d1fe",
"uri": "http://hostname:port/nifi-api/process-groups/688f3e9f-0163-1000-2c60-a8fcd62f0965/snippets/917095c4-0163-1000-3b8d-2a95f3a9d1fe",
"parentGroupId": "688f3e9f-0163-1000-2c60-a8fcd62f0965",
"processGroups": {
"688f3e9f-0163-1000-2c60-a8fcd62f0965": {
"clientId": "688f3e9f-0163-1000-2c60-a8fcd62f0965",
"version": 1
}
},
"remoteProcessGroups": {},
"processors": {},
"inputPorts": {},
"outputPorts": {},
"connections": {},
"labels": {},
"funnels": {}
}
} Finally I tried to hit nifi-api/process-groups/ParentProcessGroupUUID/templates API.But getting error 'Unable to find snippet with id '917095c4-0163-1000-3b8d-2a95f3a9d1fe'. Below are the details API url:http://hostname:port/nifi-api/process-groups/688f3e9f-0163-1000-2c60-a8fcd62f0965/templates (POST) Request: {
"name": "Template_24_05_01",
"description": "Template_24_05_01 created",
"snippetId": "917095c4-0163-1000-3b8d-2a95f3a9d1fe"
} Response: Unable to find snippet with id '917095c4-0163-1000-3b8d-2a95f3a9d1fe'. I am new to NiFi. I will highly appreciate any help.
... View more
Labels:
- Labels:
-
Apache NiFi