Nick Bowles
02/26/2021, 8:53 PMSegmentGenerationAndPushTask
Phúc Huỳnh
03/01/2021, 5:31 AMPhúc Huỳnh
03/01/2021, 5:34 AMJosh Highley
03/01/2021, 6:53 PMJosh Highley
03/01/2021, 6:55 PMMing Liang
03/04/2021, 12:29 AMMing Liang
03/04/2021, 12:29 AMXiang Fu
Alexander Vivas
03/09/2021, 3:03 PMCONCAT(DISTINCT(COUNTRY_CODE))
Also tried this:
groovy('{"returnType":"STRING","isSingleValue":true}', 'arg0.toList().join(",")', DISTINCT(COUNTRY_CODE))
But it didn't work eitherAlexander Vivas
03/09/2021, 4:02 PMDISTINCT
can't be used to pass multiple values into UDF's, is there any way to do so?, like in a grouped query, we have grouped all events per minute and now want to do something like thatayush sharma
03/09/2021, 8:39 PM$ kubectl -n my-pinot-kube get all
NAME READY STATUS RESTARTS AGE
pod/pinot-broker-0 0/1 Running 3 6m52s
pod/pinot-controller-0 1/1 Running 1 6m51s
pod/pinot-server-0 1/1 Running 1 6m51s
pod/pinot-zookeeper-0 0/1 Running 2 6m51s
Here is the log when the pinot-broker crashed and restarted.
$ kubectl -n my-pinot-kube logs pinot-broker-0 -f
2021/03/09 20:33:27.866 INFO [HelixBrokerStarter] [Start a Pinot [BROKER]] Starting Pinot broker
2021/03/09 20:33:27.879 INFO [HelixBrokerStarter] [Start a Pinot [BROKER]] Connecting spectator Helix manager
2021/03/09 20:34:02.569 INFO [HelixBrokerStarter] [Start a Pinot [BROKER]] Setting up broker request handler
2021/03/09 20:34:36.312 WARN [ZKHelixManager] [ZkClient-EventThread-14-pinot-zookeeper:2181] KeeperState:Disconnected, SessionId: 100012444580000, instance: Broker_pinot-broker-0.pinot-broker-headless.my-pinot-kube.svc.cluster.local_8099, type: SPECTATOR
Daniel Lavoie
03/09/2021, 8:41 PMDaniel Lavoie
03/09/2021, 8:41 PMXiang Fu
Xiang Fu
Alexander Vivas
03/11/2021, 3:54 PMAlexander Vivas
03/11/2021, 3:56 PMAlexander Vivas
03/11/2021, 3:56 PMDaniel Lavoie
03/11/2021, 3:56 PMAlexander Vivas
03/11/2021, 3:57 PMDaniel Lavoie
03/11/2021, 3:58 PMDaniel Lavoie
03/11/2021, 4:00 PMayush sharma
03/11/2021, 4:02 PMdocker run \
--network pinot-demo \
--name=presto-starburst \
-p 8000:8080 \
-d starburstdata/presto:350-e.3
Then I tried adding the following pinot.properties file at each of the location one by one.
/etc/presto/catalog/
data/presto/etc/catalog/
/usr/lib/presto/etc/catalog/
# pinot.properties
connector.name=pinot
pinot.controller-urls=pinot-controller:9000
pinot.controller-rest-service=pinot-controller:9000
pinot.limit-large-for-segment=1
pinot.allow-multiple-aggregations=true
pinot.use-date-trunc=true
pinot.infer-date-type-in-schema=true
pinot.infer-timestamp-type-in-schema=true
I get the following errors each time:
6 errors
io.airlift.bootstrap.ApplicationConfigurationException: Configuration errors:
1) Error: Configuration property 'pinot.allow-multiple-aggregations' was not used
2) Error: Configuration property 'pinot.controller-rest-service' was not used
3) Error: Configuration property 'pinot.infer-date-type-in-schema' was not used
4) Error: Configuration property 'pinot.infer-timestamp-type-in-schema' was not used
5) Error: Configuration property 'pinot.limit-large-for-segment' was not used
6) Error: Configuration property 'pinot.use-date-trunc' was not used
6 errors
at io.airlift.bootstrap.Bootstrap.initialize(Bootstrap.java:239)
at io.prestosql.pinot.PinotConnectorFactory.create(PinotConnectorFactory.java:72)
at io.prestosql.connector.ConnectorManager.createConnector(ConnectorManager.java:354)
at io.prestosql.connector.ConnectorManager.createCatalog(ConnectorManager.java:211)
at io.prestosql.connector.ConnectorManager.createCatalog(ConnectorManager.java:203)
at io.prestosql.connector.ConnectorManager.createCatalog(ConnectorManager.java:189)
at io.prestosql.metadata.StaticCatalogStore.loadCatalog(StaticCatalogStore.java:88)
at io.prestosql.metadata.StaticCatalogStore.loadCatalogs(StaticCatalogStore.java:68)
at io.prestosql.server.Server.doStart(Server.java:119)
at io.prestosql.server.Server.lambda$start$0(Server.java:73)
at io.prestosql.$gen.Presto_350_e_3____20210311_155257_1.run(Unknown Source)
at io.prestosql.server.Server.start(Server.java:73)
at com.starburstdata.presto.StarburstPresto.main(StarburstPresto.java:48)
Any suggestion, what I could be doing wrong?Kishore G
Kishore G
Elon
03/11/2021, 4:11 PMDaniel Lavoie
03/11/2021, 4:17 PMAlexander Vivas
03/12/2021, 2:00 PMGot unexpected instance state map: {Server_mls-pinot-server-1.mls-pinot-server-headless.production.svc.cluster.local_8098=ONLINE, Server_mls-pinot-server-2.mls-pinot-server-headless.production.svc.cluster.local_8098=ONLINE} for segment: dpt_video_event_captured_v2__0__22__20210306T1745Z
Would you please tell me what can cause this issue?Alexander Vivas
03/12/2021, 2:11 PMAlexander Vivas
03/12/2021, 2:19 PM