Support Questions
Find answers, ask questions, and share your expertise

Nifi TailFile stuck

Nifi TailFile stuck

Rising Star

We have one of our flows with a TailFile processor that seems to be stuck continually looking at a certain position in a file over and over again, not finding data and repeated. Suffice to say, we are getting no data from that file now. See logs below for example of what this looks like.

We have tried stopping and starting the TailFile Processor, and even restarting Nifi but it keeps going back to that point in the file and looking for data and when it doesnt find it, it just repeats itself.

23436-screen-shot-2017-08-04-at-30845-pm.png

2017-08-04 19:03:22,942 DEBUG [Timer-Driven Process Thread-14] o.a.nifi.processors.standard.TailFile TailFile[id=0f61e1ce-7037-3ca0-af78-e62faaa702b5] Recovering Rolled Off Files; total number of files rolled off = 0

2017-08-04 19:03:22,943 DEBUG [Timer-Driven Process Thread-14] o.a.nifi.processors.standard.TailFile TailFile[id=0f61e1ce-7037-3ca0-af78-e62faaa702b5] Reading lines starting at position 285486900

2017-08-04 19:03:22,943 DEBUG [Timer-Driven Process Thread-14] o.a.nifi.processors.standard.TailFile TailFile[id=0f61e1ce-7037-3ca0-af78-e62faaa702b5] No data to consume; removed created FlowFile

2017-08-04 19:03:22,943 DEBUG [Timer-Driven Process Thread-14] o.a.nifi.processors.standard.TailFile TailFile[id=0f61e1ce-7037-3ca0-af78-e62faaa702b5] Returning CLUSTER State: StandardStateMap[version=12873555, values={file.0.length=0, file.0.filename=/cequint-logs/att/Bside/attB08/dzl/nifi/dzl.log, file.0.position=285486900, file.0.checksum=0, file.0.timestamp=1501866000000}]

2017-08-04 19:03:22,943 DEBUG [Timer-Driven Process Thread-14] o.a.nifi.processors.standard.TailFile TailFile[id=0f61e1ce-7037-3ca0-af78-e62faaa702b5] Setting CLUSTER State to {file.0.length=0, file.0.position=285486900, file.0.checksum=0, file.0.filename=/cequint-logs/att/Bside/attB08/dzl/nifi/dzl.log, file.0.timestamp=1501866000000}

2017-08-04 19:03:22,943 DEBUG [Timer-Driven Process Thread-14] o.a.nifi.processors.standard.TailFile TailFile[id=0f61e1ce-7037-3ca0-af78-e62faaa702b5] Recovering Rolled Off Files; total number of files rolled off = 0

2017-08-04 19:03:22,944 DEBUG [Timer-Driven Process Thread-14] o.a.nifi.processors.standard.TailFile TailFile[id=0f61e1ce-7037-3ca0-af78-e62faaa702b5] Reading lines starting at position 285486900

2017-08-04 19:03:22,944 DEBUG [Timer-Driven Process Thread-14] o.a.nifi.processors.standard.TailFile TailFile[id=0f61e1ce-7037-3ca0-af78-e62faaa702b5] No data to consume; removed created FlowFile

2017-08-04 19:03:22,944 DEBUG [Timer-Driven Process Thread-14] o.a.nifi.processors.standard.TailFile TailFile[id=0f61e1ce-7037-3ca0-af78-e62faaa702b5] Returning CLUSTER State: StandardStateMap[version=12873556, values={file.0.length=0, file.0.filename=/cequint-logs/att/Bside/attB08/dzl/nifi/dzl.log, file.0.position=285486900, file.0.checksum=0, file.0.timestamp=1501866000000}]

2017-08-04 19:03:22,944 DEBUG [Timer-Driven Process Thread-14] o.a.nifi.processors.standard.TailFile TailFile[id=0f61e1ce-7037-3ca0-af78-e62faaa702b5] Setting CLUSTER State to {file.0.length=0, file.0.position=285486900, file.0.checksum=0, file.0.filename=/cequint-logs/att/Bside/attB08/dzl/nifi/dzl.log, file.0.timestamp=1501866000000}