Search in sources :

Example 6 with StatisticsCollectionRunTracker

use of org.apache.phoenix.schema.stats.StatisticsCollectionRunTracker in project phoenix by apache.

the class StatisticsCollectionRunTrackerIT method markRunningUpdateStats.

private void markRunningUpdateStats(HRegionInfo regionInfo) {
    StatisticsCollectionRunTracker tracker = StatisticsCollectionRunTracker.getInstance(new Configuration());
    tracker.addUpdateStatsCommandRegion(regionInfo);
}
Also used : Configuration(org.apache.hadoop.conf.Configuration) StatisticsCollectionRunTracker(org.apache.phoenix.schema.stats.StatisticsCollectionRunTracker)

Aggregations

StatisticsCollectionRunTracker (org.apache.phoenix.schema.stats.StatisticsCollectionRunTracker)6 Configuration (org.apache.hadoop.conf.Configuration)5 HRegionInfo (org.apache.hadoop.hbase.HRegionInfo)3 Test (org.junit.Test)3 Connection (java.sql.Connection)1 PreparedStatement (java.sql.PreparedStatement)1 ArrayList (java.util.ArrayList)1 List (java.util.List)1 KeyValue (org.apache.hadoop.hbase.KeyValue)1 RegionScanner (org.apache.hadoop.hbase.regionserver.RegionScanner)1 PhoenixConnection (org.apache.phoenix.jdbc.PhoenixConnection)1 EncodedColumnQualiferCellsList (org.apache.phoenix.schema.tuple.EncodedColumnQualiferCellsList)1