Eaugene Thomas
03/06/2023, 3:38 PMMalte Granderath
03/07/2023, 2:17 PMMergeRollupTask
we are getting the following error. Has anyone experienced this before?
org.apache.pinot.common.exception.HttpErrorStatusException: Got error status code: 500 (Internal Server Error) with reason: "Failed to update the segment lineage during startReplaceSegments. (tableName = email_events_v0_OFFLINE, segmentsFrom = [email_events_v0_1527074762433_1527074762433_0], segmentsTo = [merged_1year_1678198440011_0_email_events_v0_1527074762433_1527074762433_0])" while sending request: <http://pinot-controller-0.pinot-controller-headless.pinot-ue-research.svc.iad03.k8s.run:9000/segments/email_events_v0/startReplaceSegments?type=OFFLINE&forceCleanup=true> to controller: pinot-controller-0.pinot-controller-headless.pinot-ue-research.svc.iad03.k8s.run, version: Unknown
at org.apache.pinot.common.utils.http.HttpClient.wrapAndThrowHttpException(HttpClient.java:442)
at org.apache.pinot.common.utils.FileUploadDownloadClient.startReplaceSegments(FileUploadDownloadClient.java:972)
at org.apache.pinot.plugin.minion.tasks.SegmentConversionUtils.startSegmentReplace(SegmentConversionUtils.java:144)
at org.apache.pinot.plugin.minion.tasks.SegmentConversionUtils.startSegmentReplace(SegmentConversionUtils.java:130)
at org.apache.pinot.plugin.minion.tasks.BaseMultipleSegmentsConversionExecutor.preUploadSegments(BaseMultipleSegmentsConversionExecutor.java:130)
at org.apache.pinot.plugin.minion.tasks.BaseMultipleSegmentsConversionExecutor.executeTask(BaseMultipleSegmentsConversionExecutor.java:241)
at org.apache.pinot.plugin.minion.tasks.BaseMultipleSegmentsConversionExecutor.executeTask(BaseMultipleSegmentsConversionExecutor.java:74)
at org.apache.pinot.minion.taskfactory.TaskFactoryRegistry$1.runInternal(TaskFactoryRegistry.java:121)
at org.apache.pinot.minion.taskfactory.TaskFactoryRegistry$1.run(TaskFactoryRegistry.java:95)
at org.apache.helix.task.TaskRunner.run(TaskRunner.java:75)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
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)
Ehsan Irshad
03/14/2023, 4:32 AMPOST /tables
Adds a Table
2. POST /tableConfigs
Add the TableConfigs using the tableConfigsStr jsonLvszn Peng
03/14/2023, 6:30 AMselect count(user_id), count(distinct user_id) from table where company_id = 'a'
if an inverted index is added for user_id, will it speed up the query?Ehsan Irshad
03/14/2023, 6:58 AMJeff Bolle
03/14/2023, 1:32 PMRajat Yadav
03/14/2023, 2:12 PMRajat Yadav
03/14/2023, 2:13 PMCaught exception while executing task: Task_SegmentGenerationAndPushTask_1678797198644_1
18
java.lang.RuntimeException: Failed to execute SegmentGenerationAndPushTask
17
at org.apache.pinot.plugin.minion.tasks.segmentgenerationandpush.SegmentGenerationAndPushTaskExecutor.executeTask(SegmentGenerationAndPushTaskExecutor.java:120) ~[pinot-all-0.10.0-jar-with-dependencies.jar:0.10.0-30c4635bfeee88f88aa9c9f63b93bcd4a650607f]
16
at org.apache.pinot.minion.taskfactory.TaskFactoryRegistry$1.runInternal(TaskFactoryRegistry.java:111) [pinot-all-0.10.0-jar-with-dependencies.jar:0.10.0-30c4635bfeee88f88aa9c9f63b93bcd4a650607f]
15
at org.apache.pinot.minion.taskfactory.TaskFactoryRegistry$1.run(TaskFactoryRegistry.java:88) [pinot-all-0.10.0-jar-with-dependencies.jar:0.10.0-30c4635bfeee88f88aa9c9f63b93bcd4a650607f]
14
at org.apache.helix.task.TaskRunner.run(TaskRunner.java:71) [pinot-all-0.10.0-jar-with-dependencies.jar:0.10.0-30c4635bfeee88f88aa9c9f63b93bcd4a650607f]
13
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
12
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
11
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
10
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
9
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
8
at java.lang.Thread.run(Thread.java:829) [?:?]
7
Caused by: java.lang.IllegalStateException: Failed to find schema for table: discovery_OFFLINE
6
at shaded.com.google.common.base.Preconditions.checkState(Preconditions.java:518) ~[pinot-all-0.10.0-jar-with-dependencies.jar:0.10.0-30c4635bfeee88f88aa9c9f63b93bcd4a650607f]
5
at org.apache.pinot.plugin.minion.tasks.BaseTaskExecutor.getTableConfig(BaseTaskExecutor.java:51) ~[pinot-all-0.10.0-jar-with-dependencies.jar:0.10.0-30c4635bfeee88f88aa9c9f63b93bcd4a650607f]
4
at org.apache.pinot.plugin.minion.tasks.segmentgenerationandpush.SegmentGenerationAndPushTaskExecutor.generateTaskSpec(SegmentGenerationAndPushTaskExecutor.java:298) ~[pinot-all-0.10.0-jar-with-dependencies.jar:0.10.0-30c4635bfeee88f88aa9c9f63b93bcd4a650607f]
3
at org.apache.pinot.plugin.minion.tasks.segmentgenerationandpush.SegmentGenerationAndPushTaskExecutor.executeTask(SegmentGenerationAndPushTaskExecutor.java:117) ~[pinot-all-0.10.0-jar-with-dependencies.jar:0.10.0-30c4635bfeee88f88aa9c9f63b93bcd4a650607f]
2
... 9 more
1
Task: Task_SegmentGenerationAndPushTask_1678797198644_1 completed in: 251ms
Rajat Yadav
03/14/2023, 2:14 PMJack Luo
03/14/2023, 6:08 PMsuraj sheshadri
03/14/2023, 7:48 PMModulo
, Murmur
to partition the data. Do we have a sample scala code and pinot configuration to achieve this. Thanks.Laxman Ch
03/15/2023, 7:36 AMFRESHNESS_LAG_MS
in pinot-server has gone up high significantly (from couple of seconds to days).
However, I don't see any real consumption lag and data is getting ingested to pinot without any delays.
We are monitoring these metrics and this is causing false alerts.
I'm trying to walk through code to understand this lag metric computation and see if there are any changes after 0.10
Please provide any hints/suggestions to troubleshoot this.Lee Wei Hern Jason
03/15/2023, 8:29 AMCopy <s3://stg-pinot-archive/stg-bluering-pinot/controller-data/daxFoodSurgeMetric/daxFoodSurgeMetric__3__146__20230311T2306Z.tar.gz> to local /tmp/segmentTar-9232a0fa-2de9-403f-b894-fac9fca8046d.tar.gz
Trying to untar Metadata file from: [/tmp/segmentTar-9232a0fa-2de9-403f-b894-fac9fca8046d.tar.gz] to [/tmp/segmentMetadataDir-9232a0fa-2de9-403f-b894-fac9fca8046d]
Trying to untar CreationMeta file from: [/tmp/segmentTar-9232a0fa-2de9-403f-b894-fac9fca8046d.tar.gz] to [/tmp/segmentMetadataDir-9232a0fa-2de9-403f-b894-fac9fca8046d]
Trying to tar segment metadata dir [/tmp/segmentMetadataDir-9232a0fa-2de9-403f-b894-fac9fca8046d] to [/tmp/segmentMetadata-9232a0fa-2de9-403f-b894-fac9fca8046d.tar.gz]
Pushing segment: daxFoodSurgeMetric__3__146__20230311T2306Z to location: <http://ct.stg-bluering-pinot.coban.stg-myteksi.com:9000> for table daxFoodSurgeMetric
Sending request: <http://ct.stg-bluering-pinot.coban.stg-myteksi.com:9000/v2/segments?tableName=daxFoodSurgeMetric> to controller: ip-xx-xxx-xxx-xx.ap-southeast-1.compute.internal, version: Unknown
Caught temporary exception while pushing table: daxFoodSurgeMetric segment: daxFoodSurgeMetric__3__146__20230311T2306Z to <http://ct.stg-bluering-pinot.coban.stg-myteksi.com:9000>, will retry
org.apache.pinot.common.exception.HttpErrorStatusException: Got error status code: 500 (Internal Server Error) with reason: "Exception while uploading segment: No enum constant org.apache.pinot.common.utils.FileUploadDownloadClient.FileUploadType.METADATA,METADATA" while sending request: <http://ct.stg-bluering-pinot.coban.stg-myteksi.com:9000/v2/segments?tableName=daxFoodSurgeMetric> to controller: ip-10-110-219-43.ap-southeast-1.compute.internal, version: Unknown
at org.apache.pinot.common.utils.http.HttpClient.wrapAndThrowHttpException(HttpClient.java:442) ~[pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at org.apache.pinot.common.utils.FileUploadDownloadClient.uploadSegmentMetadata(FileUploadDownloadClient.java:583) ~[pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at org.apache.pinot.segment.local.utils.SegmentPushUtils.lambda$sendSegmentUriAndMetadata$2(SegmentPushUtils.java:314) ~[pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at org.apache.pinot.spi.utils.retry.BaseRetryPolicy.attempt(BaseRetryPolicy.java:50) [pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at org.apache.pinot.segment.local.utils.SegmentPushUtils.sendSegmentUriAndMetadata(SegmentPushUtils.java:304) [pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at org.apache.pinot.segment.local.utils.SegmentPushUtils.sendSegmentUriAndMetadata(SegmentPushUtils.java:136) [pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at org.apache.pinot.plugin.ingestion.batch.standalone.SegmentMetadataPushJobRunner.uploadSegments(SegmentMetadataPushJobRunner.java:38) [pinot-batch-ingestion-standalone-0.12.0-shaded.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at org.apache.pinot.plugin.ingestion.batch.common.BaseSegmentPushJobRunner.run(BaseSegmentPushJobRunner.java:149) [pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at org.apache.pinot.spi.ingestion.batch.IngestionJobLauncher.kickoffIngestionJob(IngestionJobLauncher.java:150) [pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at org.apache.pinot.spi.ingestion.batch.IngestionJobLauncher.runIngestionJob(IngestionJobLauncher.java:118) [pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at org.apache.pinot.tools.admin.command.LaunchDataIngestionJobCommand.execute(LaunchDataIngestionJobCommand.java:130) [pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at org.apache.pinot.tools.Command.call(Command.java:33) [pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at org.apache.pinot.tools.Command.call(Command.java:29) [pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at picocli.CommandLine.executeUserObject(CommandLine.java:1953) [pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at picocli.CommandLine.access$1300(CommandLine.java:145) [pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352) [pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at picocli.CommandLine$RunLast.handle(CommandLine.java:2346) [pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at picocli.CommandLine$RunLast.handle(CommandLine.java:2311) [pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179) [pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at picocli.CommandLine.execute(CommandLine.java:2078) [pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at org.apache.pinot.tools.admin.PinotAdministrator.execute(PinotAdministrator.java:171) [pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
at org.apache.pinot.tools.admin.PinotAdministrator.main(PinotAdministrator.java:202) [pinot-all-0.12.0-jar-with-dependencies.jar:0.12.0-118f5e065cb258c171d97a586183759fbc61e2bf]
Malte Granderath
03/15/2023, 10:18 AMRajat Yadav
03/15/2023, 1:49 PMLee Wei Hern Jason
03/15/2023, 4:05 PM[StateModel] [Cleanup thread for stg-mimic-pinot-Server_ip-10-110-223-100.ap-southeast-1.compute.internal_8098-PARTICIPANT] Default reset method invoked. Either because the process longer own this resource or session timedout
Ei
abhinav wagle
03/15/2023, 7:05 PMRyan Ivey
03/16/2023, 2:06 AMpinot-admin.sh RealtimeProvisioningHelper
I'm providing the tableConfigFile
and sampleCompletedSegmentDir
java.lang.NullPointerException: Name is null
at java.base/java.lang.Enum.valueOf(Enum.java:238)
at java.base/java.util.concurrent.TimeUnit.valueOf(TimeUnit.java:75)
at org.apache.pinot.tools.admin.command.RealtimeProvisioningHelperCommand.execute(RealtimeProvisioningHelperCommand.java:225)
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:171)
at org.apache.pinot.tools.admin.PinotAdministrator.main(PinotAdministrator.java:202)
Atul Singh Rajput
03/16/2023, 7:52 AMRajat Yadav
03/16/2023, 8:32 AMSlow query: request handler processing time: 1683, send response latency: 0, total time to handle request: 1683
how to handle with these slow queries?Rajat Yadav
03/16/2023, 8:33 AMDeena Dhayalan
03/16/2023, 2:31 PMStuart Millholland
03/16/2023, 5:36 PMJoseph Price
03/17/2023, 12:54 AMJaden Park
03/17/2023, 1:34 AMEhsan Irshad
03/17/2023, 6:48 AMautoGeneratedInvertedIndex
is not documented. If I set this field to true but do not specify the columns, will it generate inverted index on all Dimension Columns?
2. createInvertedIndexDuringSegmentGeneration is documented. But if set it to true does it mean it will try to index all the incoming data while consuming from Kafka source?Rajat Yadav
03/17/2023, 7:33 AMSELECT sum("Jobs")
FROM
(WITH fromCompany as
(Select count(*) JobsTotal
from pinot.default.table1
where '1'='1'
AND jobTitle LIKE ('<http://%.NET|%.NET> Programmer%')
AND standard_country IN ('United States')) select *
from fromCompany) AS virtual_table
LIMIT 100000;
Rajat Yadav
03/17/2023, 7:35 AMRajat Yadav
03/17/2023, 8:19 AM{
"code": 409,
"error": "Failed to drop instance Broker_broker-39.dna-pinot-1-broker-headless..svc.cluster.local_8099 - Instance Broker_broker-39.dna-pinot-1-broker-headless.svc.cluster.local_8099 exists in ideal state for brokerResource"
}
Rajat Yadav
03/17/2023, 8:19 AM