Re: Bug/Issue with ReplaceTextWithMapping

2019-07-31 Thread Ameer Mawia
That make sense. Thanks Koji for prompt replies. Appreciate it. Thankyou. On Tue, Jul 30, 2019 at 6:20 AM Koji Kawamura wrote: > The tryLock method does not block if a lock is already acquired by other > thead. > >

Re: Bug/Issue with ReplaceTextWithMapping

2019-07-30 Thread Koji Kawamura
The tryLock method does not block if a lock is already acquired by other thead.

Re: Bug/Issue with ReplaceTextWithMapping

2019-07-29 Thread Ameer Mawia
Thanks for reply. Hmm, that should explain the behavior we noted. But I see an instance level lock which is protecting the update Mapping method. *Shouldn't that eventually block other threads from accessing the old mapping?* Or may that this locking was added later - version 1.9 or something?

Re: Bug/Issue with ReplaceTextWithMapping

2019-07-25 Thread Koji Kawamura
Hi Ameer, Is the ReplaceTextWithMapping's 'Concurrent Tasks' set to grater than 1? Since ReplaceTextWithMapping only reload at a single thread, other threads may use old mapping until the loading thread complete refreshing mapping definition. Thanks, Koji On Wed, Jul 24, 2019 at 4:28 AM Ameer

Re: Bug/Issue with ReplaceTextWithMapping

2019-07-23 Thread Ameer Mawia
Inline. On Mon, Jul 22, 2019 at 2:17 AM Koji Kawamura wrote: > Hi Ameer, > > How is ReplaceTextWithMapping 'Mapping File Refresh Interval' configured? > [Ameer] It is configured to 1sec - the lowest value allowed. > By default, it's set to '60s'. So, > 1. If ReplaceTextWithMapping ran with the

Re: Bug/Issue with ReplaceTextWithMapping

2019-07-22 Thread Koji Kawamura
Hi Ameer, How is ReplaceTextWithMapping 'Mapping File Refresh Interval' configured? By default, it's set to '60s'. So, 1. If ReplaceTextWithMapping ran with the old mapping file 2. and the mapping file was updated for the next processing 3. then the flow started processing another CSV file right

Re: Bug/Issue with ReplaceTextWithMapping

2019-07-19 Thread Ameer Mawia
Correcting Typo. On Fri, Jul 19, 2019 at 2:03 PM Ameer Mawia wrote: > Guys, > > It seems that NIFI ReplaceTextWithMapping Processors has a BUG with > Refreshing its Mapped file. We are using its functionality in PROD and > getting odd behaviour. > > Our USAGE Scenario: > >- We use NIFI

Bug/Issue with ReplaceTextWithMapping

2019-07-19 Thread Ameer Mawia
Guys, It seems that NIFI ReplaceTextWithMapping Processors has a BUG with Refreshing its Mapped file. We are using its functionality in PROD and getting odd behaviour. Our USAGE Scenario: - We use NIFI primarily as a TRANSFORMATION Tool. - Our flow involves: 1. Getting a raw csv