hasTablePermission vs hasCachedTablePermission

2020-10-23 Thread mhd wrk
Looking at PermissionHandler , I'm wondering why caching is not considered just as an implementation detail. What's the need for differentiating between

Re: Accumulo Tracer?

2020-02-29 Thread mhd wrk
trace sink service for HTrace, perhaps one that > is designed specifically for that purpose. Others on the project may > have a different opinion. > > On Fri, Feb 28, 2020 at 6:44 PM mhd wrk wrote: > > > > Hi, > > > > Our Accumulo deployment uses c

Accumulo Tracer?

2020-02-28 Thread mhd wrk
Hi, Our Accumulo deployment uses custom Authenticator and Authorizer and also attaches few custom filters/iterators to tables during scan time. The challenge is that we are seeing very slow response when loading the table inside a spark shell and doing a simple count. I was thinking of adding

very slow delete operation

2019-07-29 Thread mhd wrk
Invoking TableOperations.deleteRows 400 times to delete different ranges from a single large table (about 5 TB of data stored in 9.52K tablets and 544.42K entries) runs very slowly and causes timeout errors for other processes trying to write simultaneously into the same table. Looking into the

Re: scan ignores custom Formatter

2019-07-17 Thread mhd wrk
matter.jar; bin/accumulo shell ...` >> >> On Tue, Jul 16, 2019 at 6:01 PM mhd wrk wrote: >> > >> > Yes the jar is on all the tservers and I tried `config`command and >> `formatter` commands as alternatives. >> > Unfortunately no luck yet. >> >

Re: scan ignores custom Formatter

2019-07-17 Thread mhd wrk
not the current local shell process. > > Try `export CLASSPATH=path/to/MyFormatter.jar; bin/accumulo shell ...` > > On Tue, Jul 16, 2019 at 6:01 PM mhd wrk wrote: > > > > Yes the jar is on all the tservers and I tried `config`command and > `formatter` commands as a

Re: scan ignores custom Formatter

2019-07-16 Thread mhd wrk
gt; 2 - Have you tried setting the formatter on the table as opposed to the > scan command. Something like > 'config -t mytable -s table.formatter=com.example.MyFormatter' > > Mike > > On Tue, Jul 16, 2019 at 2:50 PM mhd wrk wrote: > >> I'm trying to use a custom format

scan ignores custom Formatter

2019-07-16 Thread mhd wrk
I'm trying to use a custom formatter with scan command in Accumulo shell, but seems that scan simply ignores the custom formatter and uses the default one! The steps I follow are: 1- Create custom Formatter by extending org.apache.accumulo.core.util.format.Formatter 2- Copy the jar to

Connector user switches between threads!

2018-07-03 Thread mhd wrk
Here's the test case conditions: -Kerberized cluster -Thread one authenticates as user1 (using keytab) and start performing a long running task on a specific table. -Thread two simply authenticates as user2 (using username and password ). My observation is that as soon as thread two logins,

Custom authorisation

2018-05-24 Thread mhd wrk
Hi, What are the best practices for Accumulo to implement a custom authorisation module where user authorisations assigned dynamically based on different attributes like time, location and ... Is implementing "Query Services Layer