|
|
-
aggregators and column families
Aaron Cordova 2011-12-28, 15:32
Is it possible to enable an aggregator on all column families, even those created dynamically? How might one go about configuring this?
Aaron
-
Re: aggregators and column families
Jared winick 2011-12-28, 18:42
I don't think this is exactly what you are looking for, but you could use the addAggregators(String tableName, List<? extends PerColumnIteratorConfig> aggregators) method in the TableOperations interface to dynamically set the aggregator on new column families that are created. Obviously this would require some work to keep track of what column families already exist, but I haven't seen anything in the API that would let you configure an aggregator for all column families in a table.
On Wed, Dec 28, 2011 at 8:32 AM, Aaron Cordova <[EMAIL PROTECTED]> wrote: > Is it possible to enable an aggregator on all column families, even those created dynamically? How might one go about configuring this? > > Aaron
-
Re: aggregators and column families
Billie J Rinaldi 2011-12-28, 20:55
On Wednesday, December 28, 2011 10:32:15 AM, "Aaron Cordova" <[EMAIL PROTECTED]> wrote: > Is it possible to enable an aggregator on all column families, even > those created dynamically? How might one go about configuring this?
No, that is not possible with the existing implementation. I've considered adding a flag indicating "all columns" to Combiners (the new style of aggregators in 1.4), but haven't implemented it yet. There might be time to sneak it into 1.4 if people want it. Feel free to open a ticket.
Billie
-
Re: aggregators and column families
Aaron Cordova 2011-12-28, 21:30
Thanks all. I don't know if it makes sense or not to add such a thing.
On Dec 28, 2011, at 3:55 PM, Billie J Rinaldi wrote:
> On Wednesday, December 28, 2011 10:32:15 AM, "Aaron Cordova" <[EMAIL PROTECTED]> wrote: >> Is it possible to enable an aggregator on all column families, even >> those created dynamically? How might one go about configuring this? > > No, that is not possible with the existing implementation. I've considered adding a flag indicating "all columns" to Combiners (the new style of aggregators in 1.4), but haven't implemented it yet. There might be time to sneak it into 1.4 if people want it. Feel free to open a ticket. > > Billie
|
|