nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alessandro D'Armiento (JIRA)" <>
Subject [jira] [Closed] (NIFI-6465) ListHDFS: skip last should be optional
Date Tue, 23 Jul 2019 15:02:00 GMT


Alessandro D'Armiento closed NIFI-6465.

Not needed because of the existence of GetHDFSFileInfo

> ListHDFS: skip last should be optional
> --------------------------------------
>                 Key: NIFI-6465
>                 URL:
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>    Affects Versions: 1.9.2
>            Reporter: Alessandro D'Armiento
>            Priority: Minor
>          Time Spent: 1h
>  Remaining Estimate: 0h
> h2. Current Situation
> From [official documentation|]
> * Each time a listing is performed, the files with the latest timestamp will be excluded
and picked up during the next execution of the processor. This is done to ensure that we do
not miss any files, or produce duplicates, in the cases where files with the same timestamp
are written immediately before and after a single execution of the processor.
> h2. Improvement Proposal
> * If we are calling the ListHDFS only after a certain operation which populates an HDFS
directory has finished, it is pointless to skip the last file, and avoiding this behavior
is tricky.
> * A mandatory property "skip last" should be implemented in order to be able to actively
decide whether or not this behavior is necessary, based on the use case.
> * This is also particularly useful in combination with [NIFI-6462]

This message was sent by Atlassian JIRA

View raw message