Aaron Weiss
08/15/2022, 3:40 PM"singleValueField": false
Is there something analogous for Metrics?
I ask because we would like to keep our records at a certain granularity with a couple of metrics that are arrays, but we want to keep them metrics to be able to do aggregates on them.Tiger Zhao
08/15/2022, 9:55 PMpinot-admin.sh LaunchDataIngestionJob
but I get a Failed to decode table config from JSON
error. Is this expected?Andrew Sunarto
08/16/2022, 1:09 AMEhsan Irshad
08/16/2022, 8:15 AMPriyank Bagrecha
08/16/2022, 10:15 PMPriyank Bagrecha
08/16/2022, 11:54 PMReload Segment
force download of segment from S3 to pinot server disc?Tanmesh Mishra
08/17/2022, 9:11 PMNeeraja Sridharan
08/17/2022, 9:31 PMScott deRegt
08/17/2022, 10:52 PMerror
state. When checking debug
endpoint and server logs, am seeing java.nio.file.NoSuchFileException
on specific segment files local paths. I've tried rebalancing servers w/ downtime
+ bootstrap
toggled as well as running reload segment with forceDownload
set to true
but still can't seem to clear the `error`s. any tips on how to repair this error state?Ryan Ruane
08/18/2022, 4:58 PMRyan Ruane
08/18/2022, 5:00 PMLuis Fernandez
08/18/2022, 7:17 PMTimothy James
08/19/2022, 12:32 AM"task": {
"taskTypeConfigsMap": {
"MergeRollupTask": {
"5min.bucketTimePeriod": "5min",
"5min.bufferTimePeriod": "15min",
"1hour.bucketTimePeriod": "1h",
"1hour.bufferTimePeriod": "2h",
"1day.bucketTimePeriod": "1d",
"1day.bufferTimePeriod": "1d"
}
}
},
Rafael Jeon
08/19/2022, 9:19 AMdocker run \
-p 9000:9000 \
apachepinot/pinot:0.9.3 QuickStart \
-type upsert_json_index
Unable to find image 'apachepinot/pinot:0.9.3' locally
0.9.3: Pulling from apachepinot/pinot
a2abf6c4d29d: Pull complete
2bbde5250315: Pull complete
202a34e7968e: Pull complete
8c484b17211c: Pull complete
c79d6edef3e3: Pull complete
9335053f1957: Pull complete
99fa3710378d: Pull complete
dd4c492811d1: Pull complete
1979ceaa5442: Pull complete
Digest: sha256:fa8e27a6b81732ea238f0c41f85ba2f1f4578e1011c40d007e938f00bb59fb5d
Status: Downloaded newer image for apachepinot/pinot:0.9.3
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/pinot/lib/pinot-all-0.9.3-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/pinot/plugins/pinot-input-format/pinot-parquet/pinot-parquet-0.9.3-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/pinot/plugins/pinot-metrics/pinot-yammer/pinot-yammer-0.9.3-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/pinot/plugins/pinot-metrics/pinot-dropwizard/pinot-dropwizard-0.9.3-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/pinot/plugins/pinot-environment/pinot-azure/pinot-azure-0.9.3-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/pinot/plugins/pinot-file-system/pinot-s3/pinot-s3-0.9.3-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See <http://www.slf4j.org/codes.html#multiple_bindings> for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/opt/pinot/lib/pinot-all-0.9.3-jar-with-dependencies.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
***** Starting Kafka *****
***** Starting meetup data stream and publishing to Kafka *****
javax.websocket.DeploymentException: Handshake error.
at org.glassfish.tyrus.client.ClientManager$3$1.run(ClientManager.java:656)
at org.glassfish.tyrus.client.ClientManager$3.run(ClientManager.java:694)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.glassfish.tyrus.client.ClientManager$SameThreadExecutorService.execute(ClientManager.java:848)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
at org.glassfish.tyrus.client.ClientManager.connectToServer(ClientManager.java:493)
at org.glassfish.tyrus.client.ClientManager.connectToServer(ClientManager.java:337)
at org.apache.pinot.tools.streams.MeetupRsvpStream.run(MeetupRsvpStream.java:71)
at org.apache.pinot.tools.UpsertJsonQuickStart.execute(UpsertJsonQuickStart.java:86)
at org.apache.pinot.tools.admin.command.QuickStartCommand.execute(QuickStartCommand.java:161)
at org.apache.pinot.tools.Command.call(Command.java:33)
at org.apache.pinot.tools.Command.call(Command.java:29)
at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
at picocli.CommandLine.access$1300(CommandLine.java:145)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2346)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2311)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
at picocli.CommandLine.execute(CommandLine.java:2078)
at org.apache.pinot.tools.admin.PinotAdministrator.execute(PinotAdministrator.java:161)
at org.apache.pinot.tools.admin.PinotAdministrator.main(PinotAdministrator.java:192)
Caused by: org.glassfish.tyrus.core.HandshakeException: Response code was not 101: 404.
at org.glassfish.tyrus.client.TyrusClientEngine.processResponse(TyrusClientEngine.java:299)
at org.glassfish.tyrus.container.grizzly.client.GrizzlyClientFilter.handleHandshake(GrizzlyClientFilter.java:322)
at org.glassfish.tyrus.container.grizzly.client.GrizzlyClientFilter.handleRead(GrizzlyClientFilter.java:291)
at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:95)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:260)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:177)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:109)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:88)
at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:53)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:515)
at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:89)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:94)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:33)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:114)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:569)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:549)
at java.base/java.lang.Thread.run(Thread.java:829)
Mark Needham
08/19/2022, 10:27 AMMark Needham
08/19/2022, 10:27 AMMark Needham
08/19/2022, 10:27 AMPriyank Bagrecha
08/19/2022, 8:36 PMPriyank Bagrecha
08/19/2022, 8:58 PMSukesh Boggavarapu
08/19/2022, 9:03 PMJay Bhatt
08/22/2022, 2:55 PMLong
type column in one of the tables. Going ahead, for more precision, we want to maintain a Double
type of column. Would it be possible to directly update the column type in the schema or should we add a new column and delete the old one.
Referred the schema evolution link, but couldn't determine how to proceed from it.Stuart Millholland
08/22/2022, 4:52 PMStuart Millholland
08/22/2022, 7:00 PMLuis Fernandez
08/22/2022, 7:28 PMselect sum(impression_count) from metrics where user_id = xxx and product_id = xxxx
this query even tho it has more selectivity is slower than this one:
select sum(impression_count) from metrics where user_id = xxx
we currently are partitioning on the user_id
and have a bloom filter on product_id,user_id
is it because of the partitioning (?) also we do see an elevation of numEntriesScannedInFilter
when we also add the product_id
in the query but without it is pretty much 0, what do you recommend to do in this case.Mahesh babu
08/23/2022, 7:08 AMTony Zhang
08/23/2022, 7:32 AMKaushik Ranganath
06/07/2021, 5:19 AMLuis Fernandez
08/23/2022, 7:33 PMQueryExecutionError:\njava.lang.IndexOutOfBoundsException\n at java.base/java.nio.Buffer.checkBounds(Buffer.java:714)\n at java.base/java.nio.DirectByteBuffer.get(DirectByteBuffer.java:288)\n at org.apache.pinot.segment.local.segment.index.readers.forward.VarByteChunkSVForwardIndexReader.getStringCompressed(VarByteChunkSVForwardIndexReader.java:81)\n at org.apache.pinot.segment.local.segment.index.readers.forward.VarByteChunkSVForwardIndexReader.getString(VarByteChunkSVForwardIndexReader.java:61)
query looks like this:
SELECT SUM(impression_count) as imp_count, stemmed_query FROM query_metrics WHERE user_id = xxx AND product_id = xxx AND serve_time BETWEEN 1660622400 AND 1661227199 GROUP BY stemmed_query ORDER BY impression_count LIMIT 100000
stats:
"numServersQueried": 2,
"numServersResponded": 2,
"numSegmentsQueried": 11,
"numSegmentsProcessed": 10,
"numSegmentsMatched": 10,
"numConsumingSegmentsQueried": 1,
"numDocsScanned": 16241,
"numEntriesScannedInFilter": 5862,
"numEntriesScannedPostFilter": 64964,
"numGroupsLimitReached": false,
"totalDocs": 77203847,
"timeUsedMs": 133,
"offlineThreadCpuTimeNs": 0,
"realtimeThreadCpuTimeNs": 0,
"offlineSystemActivitiesCpuTimeNs": 0,
"realtimeSystemActivitiesCpuTimeNs": 0,
"offlineResponseSerializationCpuTimeNs": 0,
"realtimeResponseSerializationCpuTimeNs": 0,
"offlineTotalCpuTimeNs": 0,
"realtimeTotalCpuTimeNs": 0,
"segmentStatistics": [],
"traceInfo": {},
"minConsumingFreshnessTimeMs": 1661283161852,
"numRowsResultSet": 100
Devang Shah
08/23/2022, 11:37 PMDefaulted container "pinot-add-example-realtime-table-json" out of: pinot-add-example-realtime-table-json, pinot-add-example-realtime-table-avro
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jarfile/opt/pinot/lib/pinot-all-0.11.0-SNAPSHOT-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jarfile/opt/pinot/plugins/pinot-input-format/pinot-parquet/pinot-parquet-0.11.0-SNAPSHOT-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jarfile/opt/pinot/plugins/pinot-file-system/pinot-s3/pinot-s3-0.11.0-SNAPSHOT-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jarfile/opt/pinot/plugins/pinot-metrics/pinot-yammer/pinot-yammer-0.11.0-SNAPSHOT-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jarfile/opt/pinot/plugins/pinot-metrics/pinot-dropwizard/pinot-dropwizard-0.11.0-SNAPSHOT-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jarfile/opt/pinot/plugins/pinot-environment/pinot-azure/pinot-azure-0.11.0-SNAPSHOT-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jarfile/opt/pinot/plugins/pinot-stream-ingestion/pinot-pulsar/pinot-pulsar-0.11.0-SNAPSHOT-shaded.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/opt/pinot/lib/pinot-all-0.11.0-SNAPSHOT-jar-with-dependencies.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2022/08/23 232955.035 INFO [AddTableCommand] [main] Executing command: AddTable -tableConfigFile /var/pinot/examples/airlineStats_realtime_table_config.json -schemaFile /var/pinot/examples/airlineStats_schema.json -controllerProtocol http -controllerHost pinot-controller -controllerPort 9000 -user null -password [hidden] -exec
2022/08/23 232955.765 INFO [AddTableCommand] [main] {"code":500,"error":"org.apache.pinot.shaded.org.apache.kafka.common.KafkaException: Failed to construct kafka consumer"}Devang Shah
08/23/2022, 11:31 PM