Abhishek Tanwade
07/08/2022, 4:23 AMAlexander Vivas
07/08/2022, 10:01 AMAbdullah Jaffer
07/08/2022, 10:24 AM{
"OFFLINE": {
"tableName": "sales_by_order_OFFLINE",
"tableType": "OFFLINE",
"segmentsConfig": {
"schemaName": "sales_by_order",
"retentionTimeUnit": "DAYS",
"retentionTimeValue": "10000",
"replication": "2",
"segmentPushFrequency": "HOURLY",
"segmentPushType": "REFRESH",
"replicasPerPartition": "1"
},
"tenants": {
"broker": "DefaultTenant",
"server": "DefaultTenant"
},
"tableIndexConfig": {
"invertedIndexColumns": [],
"noDictionaryColumns": [],
"rangeIndexVersion": 2,
"autoGeneratedInvertedIndex": false,
"createInvertedIndexDuringSegmentGeneration": false,
"sortedColumn": [],
"bloomFilterColumns": [],
"loadMode": "MMAP",
"onHeapDictionaryColumns": [],
"varLengthDictionaryColumns": [],
"enableDefaultStarTree": false,
"enableDynamicStarTreeCreation": false,
"aggregateMetrics": false,
"nullHandlingEnabled": false,
"rangeIndexColumns": []
},
"metadata": {},
"quota": {},
"task": {
"taskTypeConfigsMap": {
"SegmentGenerationAndPushTask": {
"schedule": "0 * * * * ?",
"tableMaxNumTasks": "28"
}
}
},
"routing": {},
"query": {},
"ingestionConfig": {
"batchIngestionConfig": {
"batchConfigMaps": [
{
"input.fs.className": "org.apache.pinot.plugin.filesystem.S3PinotFS",
"input.fs.prop.region": "ap-southeast-1",
"inputDirURI": "s3 link",
"includeFileNamePattern": "glob:**/*.orc",
"excludeFileNamePattern": "glob:**/*.tmp",
"inputFormat": "orc"
}
],
"segmentIngestionType": "REFRESH",
"segmentIngestionFrequency": "HOURLY"
}
},
"isDimTable": false
}
}
Kevin Liu
07/08/2022, 5:22 PMAlice
07/10/2022, 2:44 PMMarlon Félix
07/11/2022, 4:41 PMMarlon Félix
07/11/2022, 4:43 PMharnoor
07/11/2022, 8:10 PMtroywinter
07/12/2022, 8:15 AMio.grpc.StatusRuntimeException: UNKNOWN
at io.grpc.Status.asRuntimeException(Status.java:535)
at io.grpc.stub.ClientCalls$BlockingResponseStream.hasNext(ClientCalls.java:648)
at io.trino.plugin.pinot.client.PinotGrpcDataFetcher$PinotGrpcServerQueryClient$ResponseIterator.computeNext(PinotGrpcDataFetcher.java:266)
at io.trino.plugin.pinot.client.PinotGrpcDataFetcher$PinotGrpcServerQueryClient$ResponseIterator.computeNext(PinotGrpcDataFetcher.java:253)
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:146)
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:141)
at io.trino.plugin.pinot.client.PinotGrpcDataFetcher.endOfData(PinotGrpcDataFetcher.java:85)
at io.trino.plugin.pinot.PinotSegmentPageSource.getNextPage(PinotSegmentPageSource.java:114)
at io.trino.operator.TableScanOperator.getOutput(TableScanOperator.java:311)
at io.trino.operator.Driver.processInternal(Driver.java:410)
at io.trino.operator.Driver.lambda$process$10(Driver.java:313)
at io.trino.operator.Driver.tryWithLock(Driver.java:698)
at io.trino.operator.Driver.process(Driver.java:305)
at io.trino.operator.Driver.processForDuration(Driver.java:276)
at io.trino.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:740)
at io.trino.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:163)
at io.trino.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:488)
at io.trino.$gen.Trino_389____20220712_080400_2.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Harish Bohara
07/12/2022, 9:35 AMEvent coming in kafka:
{
"user_id": "1234",
"data": {
"device": "abcd"
}
}
Schema I need for table:
{
{
"name": "user_id",
"dataType": "STRING"
},
{
"name": "device",
"dataType": "STRING"
},
}
Alice
07/12/2022, 11:14 AMAlice
07/12/2022, 11:44 AMEaugene Thomas
07/13/2022, 11:30 AMStuart Millholland
07/13/2022, 4:22 PMAshish
07/13/2022, 7:22 PMHarish Bohara
07/13/2022, 8:18 PMAndré Siefken
07/14/2022, 8:19 AMJsonAsyncHttpPinotClientTransport
am I supposed to reuse a single Connection
across all query requests, or create a new Connection
from the ConnectionFactory
for each query? Or in other words, is the http connection pool held by the Connection
instance, or the ConnectionFactory
?Deepika Eswar
07/14/2022, 11:13 AMEthan Yu
07/14/2022, 8:33 PMAlice
07/15/2022, 3:57 AMJacob M
07/17/2022, 3:50 PMwhere
clause and have used segmentPartitionConfig
and bloomFilterColumns
to make sure i'm really only querying a single segment & single server.
i'm trying to configure a table to support queries that don't necessarily have any equality clause in the where
but will always have a time clause, like where created > X
. i've noticed all my queries hit all the servers and all the segments. am i doing something wrong? i thought time columns had some special handling maybe!
(if it helps, this is an offline table)chandarasekaran m
07/18/2022, 4:02 AMKevin Liu
07/18/2022, 8:11 AMGenericRowFileWriter class:
/**
* Writes the given row into the files.
*/
public void write(GenericRow genericRow)
throws IOException {
_offsetStream.writeLong(_nextOffset);
byte[] bytes = _serializer.serialize(genericRow);
_dataStream.write(bytes);
_nextOffset += bytes.length;
}
I use GenericRowFileWriter to write GenericRow to the record.data file. It takes several hours to write more than 20 million data. Why is it so slow to write?shivam
07/18/2022, 12:37 PM{
"id": "10008ad94fa0022__brokerResource",
"simpleFields": {},
"mapFields": {
"HELIX_ERROR 20220718-101026.000050 STATE_TRANSITION 0dc81776-5d32-452b-8c82-ae66fd33a5e6": {
"AdditionalInfo": "Exception while executing a state transition task span_event_view_REALTIMEjava.lang.reflect.InvocationTargetException\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:566)\n\tat org.apache.helix.messaging.handling.HelixStateTransitionHandler.invoke(HelixStateTransitionHandler.java:404)\n\tat org.apache.helix.messaging.handling.HelixStateTransitionHandler.handleMessage(HelixStateTransitionHandler.java:331)\n\tat org.apache.helix.messaging.handling.HelixTask.call(HelixTask.java:97)\n\tat org.apache.helix.messaging.handling.HelixTask.call(HelixTask.java:49)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\nCaused by: java.lang.IllegalStateException: Failed to find table config for table: span_event_view_REALTIME\n\tat shaded.com.google.common.base.Preconditions.checkState(Preconditions.java:518)\n\tat org.apache.pinot.broker.routing.RoutingManager.buildRouting(RoutingManager.java:304)\n\tat org.apache.pinot.broker.broker.helix.BrokerResourceOnlineOfflineStateModelFactory$BrokerResourceOnlineOfflineStateModel.onBecomeOnlineFromOffline(BrokerResourceOnlineOfflineStateModelFactory.java:80)\n\t... 12 more\n",
"Class": "class org.apache.helix.messaging.handling.HelixStateTransitionHandler",
"MSG_ID": "dfc7f986-0406-49fc-b6f4-5101630efb17",
"Message state": "READ"
},
"HELIX_ERROR 20220718-101026.000081 STATE_TRANSITION e65c8151-76d4-4267-83ad-48dabdd66eae": {
"AdditionalInfo": "Message execution failed. msgId: dfc7f986-0406-49fc-b6f4-5101630efb17, errorMsg: java.lang.reflect.InvocationTargetException",
"Class": "class org.apache.helix.messaging.handling.HelixStateTransitionHandler",
"MSG_ID": "dfc7f986-0406-49fc-b6f4-5101630efb17",
"Message state": "READ"
}
},
"listFields": {}
}
Quick fix: We have restarted our brokers. but still not clear what went wrong, Need help! //@harnoorStuart Coleman
07/18/2022, 1:40 PMPriyank Bagrecha
07/18/2022, 5:25 PMAbhijeet Kushe
07/18/2022, 6:30 PMcolumn.accountId.partitionFunction = Module
column.accountId.numPartitions = 4
column.accountId.partitionValues = 1
Mayank
Mayank
Abhijeet Kushe
07/18/2022, 6:34 PMminAvailableReplicas: 0
but I now get the following message
Instance reassigned, table is already balanced