nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pvillard31 <...@git.apache.org>
Subject [GitHub] nifi issue #490: NIFI-1959 Added length and timestamp to detect rollover
Date Thu, 02 Jun 2016 23:17:47 GMT
Github user pvillard31 commented on the issue:

    https://github.com/apache/nifi/pull/490
  
    It remains an issue I have not been able to solve at this point: the case where the new
file contains more data than the tailed file before being moved. In this case we ends up in
the same situation: the new data in not ingested and the processor is not yielded. This situation
should not happen really often... but still... if someone has an idea.
    
    To reproduce: tail on /tmp/test.log
    echo "test" >> /tmp/test.log
    rm /tmp/test.log
    echo "testtest" >> /tmp/test.log
    
    In this case, both timestamp and size cannot be used to detect a pseudo-rollover and we
are stuck with the previous state and reader. Not sure to see an easy solution.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message