[
https://issues.apache.org/jira/browse/NIFI-13291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17986979#comment-17986979
]
Himanshu sahu edited comment on NIFI-13291 at 6/30/25 4:25 PM:
---------------------------------------------------------------
Hi, thanks for the update.
I tested this issue in NiFi 2.0.4 (latest version) and in Nifi 1.28.1 Version ,
and the GetFile processor works correctly with CRON scheduling, no restart is
needed.
So, it looks like this issue does not affect NiFi 2.x, and no fix is needed in
the main branch.
It seems to be an issue only in NiFi 1.21.0.
was (Author: JIRAUSER309871):
Hi, thanks for the update.
I tested this issue in NiFi 2.0.4 (latest version), and the GetFile processor
works correctly with CRON scheduling, no restart is needed.
So, it looks like this issue does not affect NiFi 2.x, and no fix is needed in
the main branch.
It seems to be an issue only in NiFi 1.21.0 or other 1.x versions.
> NiFi GetFile processor is functioning erratically
> -------------------------------------------------
>
> Key: NIFI-13291
> URL: https://issues.apache.org/jira/browse/NIFI-13291
> Project: Apache NiFi
> Issue Type: Bug
> Components: Configuration, NiFi Registry
> Affects Versions: 1.21.0
> Environment: Prod Env (Linux, Java 11, Linux/Unix, instance type :
> m5.2xlarge, Volume size 700 GB EBS)
> Reporter: Uday Kumar
> Assignee: Himanshu sahu
> Priority: Critical
> Labels: Nifi-1.21.0
> Attachments: Configuration Properties tab.JPG, Configuration
> Scheduling Tab.JPG, Configuration Setting Tab.JPG, Nifi Processor Group.JPG
>
>
> I have a NiFi flow in which GetFile processor gets the txt file from local
> folder, as per configured cron schedule, which is further used for
> downloading the PDF files.
> I have observed that NiFi requires a restart before the cron job time of
> GetFile processor. If NiFi is not restarted, the txt file does not get picked
> up as per cron schedule.
> I have not encountered any issues in manual processing (run once) of the
> GetFile processor.
> I can't find anything on the log. The log file is printed as if nothing was
> scheduled for that particular time. It's simply skipping the timing and
> continuing. I'm using Apache NiFi version 1.21.0.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)