RE: Adding HBase Support for AtomicDistributedMapCacheClient

2019-05-04 Thread Shawn Weeks
, 2019 10:02 AM To: dev@nifi.apache.org Subject: RE: Adding HBase Support for AtomicDistributedMapCacheClient I discovered what appears to be a bug while compiling on Windows. Line 46 of NiFiGroovyTest.groovy should be private static final String TEST_RES_PATH = Paths.get

RE: Adding HBase Support for AtomicDistributedMapCacheClient

2019-05-04 Thread Shawn Weeks
eks Sent: Saturday, May 4, 2019 9:07 AM To: dev@nifi.apache.org Subject: RE: Adding HBase Support for AtomicDistributedMapCacheClient I've created Pull Request https://github.com/apache/nifi/pull/3462 for this change. I'm still doing some testing and it might not actually work right but I wan

RE: Adding HBase Support for AtomicDistributedMapCacheClient

2019-05-04 Thread Shawn Weeks
and I'll implement it. Thanks Shawn Weeks -Original Message- From: Bryan Bende Sent: Thursday, April 25, 2019 7:05 PM To: dev@nifi.apache.org Subject: Re: Adding HBase Support for AtomicDistributedMapCacheClient Should be available through the existing scan methods, they take a ResultHandler

Re: Adding HBase Support for AtomicDistributedMapCacheClient

2019-04-25 Thread Bryan Bende
ow to get the > timestamp on fetch. That will probably require a change or new scan method. > > Thanks > Shawn > > -Original Message- > From: Bryan Bende > Sent: Thursday, April 25, 2019 4:29 PM > To: dev@nifi.apache.org > Subject: Re: Adding HBase Support for At

RE: Adding HBase Support for AtomicDistributedMapCacheClient

2019-04-25 Thread Shawn Weeks
at everything I had another question. Why is the cache > > > currently using a scan instead of a get to fetch values from HBase. It > > > seems like that would be much less performant considering we know the row > > > key we're looking for. > > > > &g

Re: Adding HBase Support for AtomicDistributedMapCacheClient

2019-04-25 Thread Bryan Bende
; } > > } > > > > If the atomic guarantee for the original checkAndPut is good enough then > > there is no reason I can't implement the atomic map cache for both versions > > of HBase. > > > > Thanks > > Shawn > > > > -Orig

Re: Adding HBase Support for AtomicDistributedMapCacheClient

2019-04-25 Thread Bryan Bende
As I was looking at everything I had another question. Why is the cache > > currently using a scan instead of a get to fetch values from HBase. It > > seems like that would be much less performant considering we know the row > > key we're looking for. > > > > > >

RE: Adding HBase Support for AtomicDistributedMapCacheClient

2019-04-25 Thread Shawn Weeks
for both versions of HBase. Thanks Shawn -Original Message- From: Bryan Bende Sent: Thursday, April 25, 2019 12:39 PM To: dev@nifi.apache.org Subject: Re: Adding HBase Support for AtomicDistributedMapCacheClient I'm not totally if would matter if there were changes in between, as long

Re: Adding HBase Support for AtomicDistributedMapCacheClient

2019-04-25 Thread Bryan Bende
; Thanks > Shawn > > -Original Message- > From: Bryan Bende > Sent: Thursday, April 25, 2019 11:56 AM > To: dev@nifi.apache.org > Subject: Re: Adding HBase Support for AtomicDistributedMapCacheClient > > Can it not be done with the existing checkAndPut method? [1] &

RE: Adding HBase Support for AtomicDistributedMapCacheClient

2019-04-25 Thread Shawn Weeks
we're looking for. Thanks Shawn -Original Message- From: Bryan Bende Sent: Thursday, April 25, 2019 11:56 AM To: dev@nifi.apache.org Subject: Re: Adding HBase Support for AtomicDistributedMapCacheClient Can it not be done with the existing checkAndPut method? [1] I think if you use

Re: Adding HBase Support for AtomicDistributedMapCacheClient

2019-04-25 Thread Bryan Bende
Thursday, April 25, 2019 9:11 AM > To: dev@nifi.apache.org > Subject: Re: Adding HBase Support for AtomicDistributedMapCacheClient > > I'm not aware of a JIRA, so I'd say go for it. > > On Wed, Apr 24, 2019 at 9:27 PM Shawn Weeks wrote: > > > > Seems like this should be fa

RE: Adding HBase Support for AtomicDistributedMapCacheClient

2019-04-25 Thread Shawn Weeks
it doesn't provide a way to filter on timestamp which is part of how I was going to implement the revision requirement for AtomicMapCache. Thanks Shawn -Original Message- From: Bryan Bende Sent: Thursday, April 25, 2019 9:11 AM To: dev@nifi.apache.org Subject: Re: Adding HBase Support

Re: Adding HBase Support for AtomicDistributedMapCacheClient

2019-04-25 Thread Bryan Bende
I'm not aware of a JIRA, so I'd say go for it. On Wed, Apr 24, 2019 at 9:27 PM Shawn Weeks wrote: > > Seems like this should be fairly easy for HBase 2.x with the checkAndMutate > functionality and I was wondering if there is already a Jira for this. > Otherwise I might make an attempt at it.

Adding HBase Support for AtomicDistributedMapCacheClient

2019-04-24 Thread Shawn Weeks
Seems like this should be fairly easy for HBase 2.x with the checkAndMutate functionality and I was wondering if there is already a Jira for this. Otherwise I might make an attempt at it. It would be good to be able to support Wait/Notify and other things that need