Running NiFI 1.0.0, I'm listing a queue that has 100k files queued. I've
stopped both the incoming and outgoing processors, so the files are just
hanging out in the queue, no possible motion.
I get, "The queue has no FlowFiles" message. Here are the actual responses
from the REST calls:
POST - Listing-requests
{"listingRequest":{"id":"0cee44de-0157-1000-5668-6e93a465e227","uri":"https://localhost:8443/nifi-api/flowfile-queues/0bacce2d-0157-1000-1a6d-6e0fd84a6bd6/listing-requests/0cee44de-0157-1000-5668-6e93a465e227","submissionTime":"09/09/2016
03:12:04.318 GMT+00:00","lastUpdated":"03:12:04
GMT+00:00","percentCompleted":0,"finished":false,"maxResults":100,"state":"Waiting
for other queue requests to
complete","queueSize":{"byteCount":25400000,"objectCount":100000},"sourceRunning":false,"destinationRunning":false}}
GET
{"listingRequest":{"id":"0cee44de-0157-1000-5668-6e93a465e227","uri":"https://
localhost:8443/nifi-api/flowfile-queues/0bacce2d-0157-1000-1a6d-6e0fd84a6bd6/listing-requests/0cee44de-0157-1000-5668-6e93a465e227","submissionTime":"09/09/2016
03:12:04.318 GMT+00:00","lastUpdated":"03:12:04
GMT+00:00","percentCompleted":100,"finished":true,"maxResults":100,"state":"Completed
successfully","queueSize":{"byteCount":25400000,"objectCount":100000},"flowFileSummaries":[],"sourceRunning":false,"destinationRunning":false}}
DELETE
{"listingRequest":{"id":"0cee44de-0157-1000-5668-6e93a465e227","uri":"https://
localhost:8443/nifi-api/flowfile-queues/0bacce2d-0157-1000-1a6d-6e0fd84a6bd6/listing-requests/0cee44de-0157-1000-5668-6e93a465e227","submissionTime":"09/09/2016
03:12:04.318 GMT+00:00","lastUpdated":"03:12:04
GMT+00:00","percentCompleted":100,"finished":true,"maxResults":100,"state":"Completed
successfully","queueSize":{"byteCount":25400000,"objectCount":100000},"sourceRunning":false,"destinationRunning":false}}
On a subsequent test (thus the difference in ID's) I checked the nifi-app.log
file and found this single message:
2016-09-09 03:15:50,043 INFO [NiFi Web Server-828]
o.a.n.controller.StandardFlowFileQueue Canceling ListFlowFile Request with ID
0cf1b178-0157-1000-9111-9b889415bcdc
Not clear why it was canceled.
I went up one step in the process, and that queue has 23 items in it. I was
able to list it without issue.
Any ideas why I can't list the queue?
Thanks,
Peter Wicks