Alex
11/20/2019, 1:08 AMaggregateMetrics - Switch for the aggregate metrics feature. This feature will aggregate realtime stream data as it is consumed, where applicable, in order to reduce segment sizes. We sum the metric column values of all rows that have the same value for dimension columns and create one row in a realtime segment for all such rows. This feature is only available on REALTIME tables.
Alex
11/20/2019, 1:18 AMNeha Pawar
Subbu Subramaniam
11/20/2019, 2:02 AMKishore G
Seunghyun
11/20/2019, 6:42 AMaggregateMetrics
is a different feature where it provides a way to aggregate values for consuming segments and it only supports sum
as of now. On the other hand, startreee supports multiple aggregation functions.Sidd
11/20/2019, 9:02 PMElon
11/21/2019, 12:12 AMSeunghyun
11/21/2019, 12:37 AMorder by
without any filter, you’re basically sorting the entire table, which is very expensive.Elon
11/21/2019, 12:38 AMElon
11/21/2019, 12:38 AMSeunghyun
11/21/2019, 12:43 AMAlex
11/21/2019, 12:49 AMAlex
11/21/2019, 12:49 AMAlex
11/21/2019, 12:50 AMSeunghyun
11/21/2019, 12:53 AMrequestId
and you will be able to find the relevant log on the server side using broker host + requestId
pair.Alex
11/21/2019, 12:55 AMAlex
11/21/2019, 12:59 AMAlex
11/21/2019, 12:59 AM2019/11/21 00:01:34.700 ERROR [CombineOperator] [pqr-0] Caught ExecutionException.
java.util.concurrent.ExecutionException: java.util.concurrent.TimeoutException: Timed out while polling result from first thread
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_232]
at java.util.concurrent.FutureTask.get(FutureTask.java:206) ~[?:1.8.0_232]
at org.apache.pinot.core.operator.CombineOperator.getNextBlock(CombineOperator.java:158) ~[pinot-core-0.2.0-SNAPSHOT.jar:0.2.0-SNAPSHOT-eb45b438c5053f5caaf289614f386706a472947e]
at org.apache.pinot.core.operator.CombineOperator.getNextBlock(CombineOperator.java:44) ~[pinot-core-0.2.0-SNAPSHOT.jar:0.2.0-SNAPSHOT-eb45b438c5053f5caaf289614f386706a472947e]
at org.apache.pinot.core.operator.BaseOperator.nextBlock(BaseOperator.java:48) ~[pinot-core-0.2.0-SNAPSHOT.jar:0.2.0-SNAPSHOT-eb45b438c5053f5caaf289614f386706a472947e]
at org.apache.pinot.core.operator.InstanceResponseOperator.getNextBlock(InstanceResponseOperator.java:37) ~[pinot-core-0.2.0-SNAPSHOT.jar:0.2.0-SNAPSHOT-eb45b438c5053f5caaf289614f386706a472947e]
at org.apache.pinot.core.operator.InstanceResponseOperator.getNextBlock(InstanceResponseOperator.java:26) ~[pinot-core-0.2.0-SNAPSHOT.jar:0.2.0-SNAPSHOT-eb45b438c5053f5caaf289614f386706a472947e]
at org.apache.pinot.core.operator.BaseOperator.nextBlock(BaseOperator.java:48) ~[pinot-core-0.2.0-SNAPSHOT.jar:0.2.0-SNAPSHOT-eb45b438c5053f5caaf289614f386706a472947e]
at org.apache.pinot.core.plan.GlobalPlanImplV0.execute(GlobalPlanImplV0.java:48) ~[pinot-core-0.2.0-SNAPSHOT.jar:0.2.0-SNAPSHOT-eb45b438c5053f5caaf289614f386706a472947e]
at org.apache.pinot.core.query.executor.ServerQueryExecutorV1Impl.processQuery(ServerQueryExecutorV1Impl.java:213) ~[pinot-core-0.2.0-SNAPSHOT.jar:0.2.0-SNAPSHOT-eb45b438c5053f5caaf289614f386706a472947e]
at org.apache.pinot.core.query.scheduler.QueryScheduler.processQueryAndSerialize(QueryScheduler.java:152) ~[pinot-core-0.2.0-SNAPSHOT.jar:0.2.0-SNAPSHOT-eb45b438c5053f5caaf289614f386706a472947e]
at org.apache.pinot.core.query.scheduler.QueryScheduler.lambda$createQueryFutureTask$0(QueryScheduler.java:136) ~[pinot-core-0.2.0-SNAPSHOT.jar:0.2.0-SNAPSHOT-eb45b438c5053f5caaf289614f386706a472947e]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_232]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_232]
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:111) ~[guava-20.0.jar:?]
at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:58) ~[guava-20.0.jar:?]
at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:75) ~[guava-20.0.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_232]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_232]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]
Caused by: java.util.concurrent.TimeoutException: Timed out while polling result from first thread
at org.apache.pinot.core.operator.CombineOperator$2.callJob(CombineOperator.java:133) ~[pinot-core-0.2.0-SNAPSHOT.jar:0.2.0-SNAPSHOT-eb45b438c5053f5caaf289614f386706a472947e]
at org.apache.pinot.core.operator.CombineOperator$2.callJob(CombineOperator.java:126) ~[pinot-core-0.2.0-SNAPSHOT.jar:0.2.0-SNAPSHOT-eb45b438c5053f5caaf289614f386706a472947e]
at org.apache.pinot.core.util.trace.TraceCallable.call(TraceCallable.java:44) ~[pinot-core-0.2.0-SNAPSHOT.jar:0.2.0-SNAPSHOT-eb45b438c5053f5caaf289614f386706a472947e]
... 8 more
2019/11/21 00:01:34.704 ERROR [CombineOperator] [pqw-1] Caught exception while executing query.
java.lang.RuntimeException: Thread has been interrupted
at org.apache.pinot.core.operator.BaseOperator.nextBlock(BaseOperator.java:37) ~[pinot-core-0.2.0-SNAPSHOT.jar:0.2.0-SNAPSHOT-eb45b438c5053f5caaf289614f386706a472947e]
at org.apache.pinot.core.operator.query.SelectionOrderByOperator.getNextBlock(SelectionOrderByOperator.java:145) ~[pinot-core-0.2.0-SNAPSHOT.jar:0.2.0-SNAPSHOT-eb45b438c5053f5caaf289614f386706a472947e]
at org.apache.pinot.core.operator.query.SelectionOrderByOperator.getNextBlock(SelectionOrderByOperator.java:44) ~[pinot-core-0.2.0-SNAPSHOT.jar:0.2.0-SNAPSHOT-eb45b438c5053f5caaf289614f386706a472947e]
at org.apache.pinot.core.operator.BaseOperator.nextBlock(BaseOperator.java:48) ~[pinot-core-0.2.0-SNAPSHOT.jar:0.2.0-SNAPSHOT-eb45b438c5053f5caaf289614f386706a472947e]
at org.apache.pinot.core.operator.CombineOperator$1.runJob(CombineOperator.java:104) ~[pinot-core-0.2.0-SNAPSHOT.jar:0.2.0-SNAPSHOT-eb45b438c5053f5caaf289614f386706a472947e]
at org.apache.pinot.core.util.trace.TraceRunnable.run(TraceRunnable.java:40) ~[pinot-core-0.2.0-SNAPSHOT.jar:0.2.0-SNAPSHOT-eb45b438c5053f5caaf289614f386706a472947e]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_232]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_232]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_232]
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:111) ~[guava-20.0.jar:?]
at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:58) ~[guava-20.0.jar:?]
at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:75) ~[guava-20.0.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_232]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_232]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]
Alex
11/21/2019, 1:00 AMAlex
11/21/2019, 1:00 AM019/11/21 00:59:54.031 WARN [ConsumerConfig] [flattened_orders_hours__75__6__20191120T0115Z] The configuration 'stream.kafka.consumer.prop.group.id' was supplied but isn't a known config.
2019/11/21 00:59:54.031 WARN [ConsumerConfig] [flattened_orders_hours__75__6__20191120T0115Z] The configuration 'stream.kafka.decoder.class.name' was supplied but isn't a known config.
2019/11/21 00:59:54.031 WARN [ConsumerConfig] [flattened_orders_hours__75__6__20191120T0115Z] The configuration 'streamType' was supplied but isn't a known config.
2019/11/21 00:59:54.031 WARN [ConsumerConfig] [flattened_orders_hours__75__6__20191120T0115Z] The configuration 'stream.kafka.consumer.type' was supplied but isn't a known config.
2019/11/21 00:59:54.031 WARN [ConsumerConfig] [flattened_orders_hours__75__6__20191120T0115Z] The configuration 'stream.kafka.zk.broker.url' was supplied but isn't a known config.
2019/11/21 00:59:54.031 WARN [ConsumerConfig] [flattened_orders_hours__75__6__20191120T0115Z] The configuration 'stream.kafka.broker.list' was supplied but isn't a known config.
2019/11/21 00:59:54.031 WARN [ConsumerConfig] [flattened_orders_hours__75__6__20191120T0115Z] The configuration 'realtime.segment.flush.threshold.time' was supplied but isn't a known config.
2019/11/21 00:59:54.031 WARN [ConsumerConfig] [flattened_orders_hours__75__6__20191120T0115Z] The configuration 'stream.kafka.consumer.prop.auto.offset.reset' was supplied but isn't a known config.
2019/11/21 00:59:54.031 WARN [ConsumerConfig] [flattened_orders_hours__75__6__20191120T0115Z] The configuration 'stream.kafka.consumer.factory.class.name' was supplied but isn't a known config.
2019/11/21 00:59:54.031 WARN [ConsumerConfig] [flattened_orders_hours__75__6__20191120T0115Z] The configuration 'stream.kafka.topic.name' was supplied but isn't a known config.
Kishore G
Kishore G
Kishore G
Kishore G
Neha Pawar
Kishore G
Kishore G