Dan Hill
07/04/2020, 11:26 PMSomanshu Jindal
07/06/2020, 8:56 AMYash Agarwal
07/06/2020, 11:14 AMPradeep
07/06/2020, 7:52 PMmillis
is supported. Context is we have system level events (think stream of syscalls)
and want to be able to store the nanos timestamp to fix the order among them and also it’s used by other systems in our infrastructure.
Currently I am storing nanos column as a different column and created a millis
column to serve as time column, thinking if I can avoid storing the additional
duplicate info if the feature is simple enough to add?Kishore G
Kishore G
Kishore G
Elon
07/06/2020, 11:38 PMElon
07/06/2020, 11:38 PMcurl -f -k -X POST --header 'Content-Type: application/json' -d '@realtime.json' ${CONTROLLER}/tables
Elon
07/06/2020, 11:39 PM{
"tableName": "oas_integration_operation_event",
"tableType": "REALTIME",
"segmentsConfig": {
"timeColumnName": "operation_ts",
"timeType": "SECONDS",
"retentionTimeUnit": "DAYS",
"retentionTimeValue": "7",
"segmentPushType": "APPEND",
"segmentPushFrequency": "daily",
"segmentAssignmentStrategy": "BalanceNumSegmentAssignmentStrategy",
"schemaName": "oas_integration_operation_event",
"replicasPerPartition": "3"
},
"tenants": {
"broker": "DefaultTenant",
"server": "DefaultTenant"
},
"tableIndexConfig": {
"loadMode": "MMAP",
"invertedIndexColumns": [
"service_slug",
"operation_type",
"operation_result",
"store_id"
],
"sortedColumn": [
"operation_ts"
],
"noDictionaryColumns": [],
"aggregateMetrics": "false",
"streamConfigs": {
"streamType": "kafka",
"stream.kafka.consumer.type": "LowLevel",
"stream.kafka.topic.name": "oas-integration-operation-completion-avro",
"stream.kafka.decoder.class.name": "org.apache.pinot.plugin.inputformat.avro.confluent.KafkaConfluentSchemaRegistryAvroMessageDecoder",
"stream.kafka.consumer.factory.class.name": "org.apache.pinot.plugin.stream.kafka20.KafkaConsumerFactory",
"stream.kafka.decoder.prop.schema.registry.rest.url": "<http://XXXX:8081>",
"stream.kafka.zk.broker.url": "XXXX/",
"stream.kafka.broker.list": "XXXX:9092",
"realtime.segment.flush.threshold.time": "6h",
"realtime.segment.flush.threshold.size": "0",
"realtime.segment.flush.desired.size": "200M",
"stream.kafka.consumer.prop.auto.isolation.level": "read_committed",
"stream.kafka.consumer.prop.auto.offset.reset": "smallest",
"stream.kafka.consumer.prop.group.id": "oas_integration_operation_event-load-pinot-llprb",
"stream.kafka.consumer.prop.client.id": "XXXX"
},
"starTreeIndexConfigs": [
{
"dimensionsSplitOrder": [
"service_slug",
"store_id",
"operation_type",
"operation_result"
],
"functionColumnPairs": [
"PERCENTILEEST__operation_latency_ms",
"AVG__operation_latency_ms",
"DISTINCTCOUNT__store_id",
"COUNT__store_id",
"COUNT__operation_type"
]
},
{
"dimensionsSplitOrder": [
"service_slug",
"store_id"
],
"functionColumnPairs": [
"COUNT__store_id",
"COUNT__operation_type"
]
}
]
},
"metadata": {
"customConfigs": {}
}
}
Mayank
Mayank
Elon
07/06/2020, 11:41 PMElon
07/06/2020, 11:42 PMPradeep
07/08/2020, 10:36 PMjava.lang.IllegalArgumentException: null
at shaded.com.google.common.base.Preconditions.checkArgument(Preconditions.java:108) ~[pinot-all-0.5.0-SNAPSHOT-jar-with-dependenci
es.jar:0.5.0-SNAPSHOT-2ec7dee1597021742f68f0ae8b279f7560e55894]
at org.apache.pinot.plugin.filesystem.S3PinotFS.init(S3PinotFS.java:80) ~[pinot-s3-0.5.0-SNAPSHOT-shaded.jar:0.5.0-SNAPSHOT-2ec7dee
1597021742f68f0ae8b279f7560e55894]
at org.apache.pinot.spi.filesystem.PinotFSFactory.register(PinotFSFactory.java:55) [pinot-all-0.5.0-SNAPSHOT-jar-with-dependencies.
jar:0.5.0-SNAPSHOT-2ec7dee1597021742f68f0ae8b279f7560e55894]
at org.apache.pinot.spi.filesystem.PinotFSFactory.init(PinotFSFactory.java:75) [pinot-all-0.5.0-SNAPSHOT-jar-with-dependencies.jar:
0.5.0-SNAPSHOT-2ec7dee1597021742f68f0ae8b279f7560e55894]
Pradeep
07/08/2020, 10:38 PMpinot.server.storage.factory.s3.region=us-east-2
I already have this config,Pradeep
07/08/2020, 10:39 PMKishore G
Mayank
Daniel Lavoie
07/08/2020, 10:41 PMMayank
Mayank
PinotConfiguration schemesConfiguration = fsConfig.subset(CLASS);
Daniel Lavoie
07/08/2020, 10:48 PMMayank
class
new?Mayank
Daniel Lavoie
07/08/2020, 10:50 PMKishore G
Kishore G
Pradeep
07/08/2020, 10:51 PMpinot.server.storage.factory.class.s3=org.apache.pinot.plugin.filesystem.S3PinotFS
pinot.server.storage.factory.s3.accessKey=
pinot.server.storage.factory.s3.secretKey=
pinot.server.storage.factory.s3.region=
pinot.server.segment.fetcher.protocols=file,http,s3
pinot.server.segment.fetcher.s3.class=org.apache.pinot.common.utils.fetcher.PinotFSSegmentFetcher
pinot.server.instance.dataDir=/home/ubuntu/pinot/data
pinot.server.instance.segmentTarDir=/home/ubuntu/pinot/segments
Pradeep
07/08/2020, 10:51 PM