accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <>
Subject Re: Custom formatter
Date Thu, 03 Mar 2016 18:06:26 GMT
Hi Sravan,

I don't think Formatters have the ability to automatically obtain
table configuration at runtime. The lifecycle for Formatters is a bit
different than Iterators. Formatters are also only run client-side --
you could try to do something that reads from Java system properties
and pass in those options via the Accumulo shell.

On Thu, Mar 3, 2016 at 12:30 PM, Sravankumar Reddy Javaji (BLOOMBERG/
731 LEX) <> wrote:
> Hello,
> Is it possible to provide options to custom Formatter in accumulo?
> I tried using OptionDescriber but it seems that OptionDescriber gets invoked
> only during setiterator command.
> Or at least is there any way to get current table properties (on which table
> the custom fomatter is set). I mean if the formatter was set on TABLE_A,
> then it has to load all the table properties into code during
> initialization. So, that I can set the required properties to table using
> "config" and will load this properties to custom formatter.
> -
> Regards,
> Sravan

View raw message