vmarchaud
08/18/2023, 1:33 PMvmarchaud
08/18/2023, 1:33 PMAug 18 10:06:02 gha-runner-2 bash[2175298]: Caused by: java.lang.IllegalArgumentException: Unknown index id: dictionary
Aug 18 10:06:02 gha-runner-2 bash[2175298]: at org.apache.pinot.segment.spi.index.IndexService.get(IndexService.java:144) ~[pinot-all-0.13.0-SNAPSHOT-jar-with-dependencies.jar:0.13.0-SNAPSHOT-041a6044afa85da81f457b324a4f9fc22e0475fb]
Aug 18 10:06:02 gha-runner-2 bash[2175298]: at org.apache.pinot.segment.spi.index.StandardIndexes.dictionary(StandardIndexes.java:88) ~[pinot-all-0.13.0-SNAPSHOT-jar-with-dependencies.jar:0.13.0-SNAPSHOT-041a6044afa85da81f457b324a4f9fc22e0475fb]
Aug 18 10:06:02 gha-runner-2 bash[2175298]: at org.apache.pinot.segment.local.indexsegment.mutable.MutableSegmentImpl.enableMetricsAggregationIfPossible(MutableSegmentImpl.java:1070) ~[pinot-all-0.13.0-SNAPSHOT-jar-with-dependencies.jar:0.13.0-SNAPSHOT-041a6044afa85da81f457b324a4f9fc22e0475fb]
Aug 18 10:06:02 gha-runner-2 bash[2175298]: at org.apache.pinot.segment.local.indexsegment.mutable.MutableSegmentImpl.<init>(MutableSegmentImpl.java:247) ~[pinot-all-0.13.0-SNAPSHOT-jar-with-dependencies.jar:0.13.0-SNAPSHOT-041a6044afa85da81f457b324a4f9fc22e0475fb]
Aug 18 10:06:02 gha-runner-2 bash[2175298]: at org.apache.pinot.core.data.manager.realtime.LLRealtimeSegmentDataManager.<init>(LLRealtimeSegmentDataManager.java:1462) ~[pinot-all-0.13.0-SNAPSHOT-jar-with-dependencies.jar:0.13.0-SNAPSHOT-041a6044afa85da81f457b324a4f9fc22e0475fb]
Aug 18 10:06:02 gha-runner-2 bash[2175298]: at org.apache.pinot.core.data.manager.realtime.RealtimeTableDataManager.addSegment(RealtimeTableDataManager.java:447) ~[pinot-all-0.13.0-SNAPSHOT-jar-with-dependencies.jar:0.13.0-SNAPSHOT-041a6044afa85da81f457b324a4f9fc22e0475fb]
Aug 18 10:06:02 gha-runner-2 bash[2175298]: at org.apache.pinot.server.starter.helix.HelixInstanceDataManager.addRealtimeSegment(HelixInstanceDataManager.java:249) ~[pinot-all-0.13.0-SNAPSHOT-jar-with-dependencies.jar:0.13.0-SNAPSHOT-041a6044afa85da81f457b324a4f9fc22e0475fb]
Aug 18 10:06:02 gha-runner-2 bash[2175298]: at org.apache.pinot.server.starter.helix.SegmentOnlineOfflineStateModelFactory$SegmentOnlineOfflineStateModel.onBecomeOnlineFromOffline(SegmentOnlineOfflineStateModelFactory.java:168) ~[pinot-all-0.13.0-SNAPSHOT-jar-with-dependencies.jar:0.13.0-SNAPSHOT-041a6044afa85da81f457b324a4f9fc22e0475fb]
Aug 18 10:06:02 gha-runner-2 bash[2175298]: at org.apache.pinot.server.starter.helix.SegmentOnlineOfflineStateModelFactory$SegmentOnlineOfflineStateModel.onBecomeConsumingFromOffline(SegmentOnlineOfflineStateModelFactory.java:83) ~[pinot-all-0.13.0-SNAPSHOT-jar-with-dependencies.jar:0.13.0-SNAPSHOT-041a6044afa85da81f457b324a4f9fc22e0475fb]
Aug 18 10:06:02 gha-runner-2 bash[2175298]: ... 12 morevmarchaud
08/18/2023, 1:34 PMmvn install package -DskipTests -Pbin-dist -Pbuild-shaded-jar -Djdk.version=11 -T1Cvmarchaud
08/18/2023, 1:34 PMMayank
Gonzalo Ortiz
08/18/2023, 2:19 PMGonzalo Ortiz
08/18/2023, 2:20 PMGonzalo Ortiz
08/18/2023, 2:20 PMvmarchaud
08/18/2023, 2:20 PMvmarchaud
08/18/2023, 2:20 PMvmarchaud
08/18/2023, 2:20 PMvmarchaud
08/18/2023, 2:21 PMopenjdk 11.0.11 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)
Eclipse OpenJ9 VM AdoptOpenJDK-11.0.11+9 (build openj9-0.26.0, JRE 11 Linux amd64-64-Bit Compressed References 20210421_975 (JIT enabled, AOT enabled)
OpenJ9 - b4cc246d9
OMR - 162e6f729
JCL - 7796c80419 based on jdk-11.0.11+9)vmarchaud
08/18/2023, 2:22 PMGonzalo Ortiz
08/18/2023, 2:28 PMvmarchaud
08/18/2023, 2:35 PMGonzalo Ortiz
08/18/2023, 2:35 PMvmarchaud
08/18/2023, 2:36 PMGonzalo Ortiz
08/18/2023, 2:36 PMmvn install package -DskipTests -Pbin-dist -Pbuild-shaded-jar -Djdk.version=11 -T1C
locally to try myself, but I usually use more standard jdksGonzalo Ortiz
08/18/2023, 2:36 PMbuilding or running ?running
vmarchaud
08/18/2023, 2:37 PMopenjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed mode)vmarchaud
08/18/2023, 2:38 PMGonzalo Ortiz
08/18/2023, 2:42 PMvmarchaud
08/18/2023, 2:43 PMvmarchaud
08/18/2023, 2:44 PMGonzalo Ortiz
08/18/2023, 2:47 PMGonzalo Ortiz
08/18/2023, 2:47 PMvmarchaud
08/18/2023, 2:49 PMGonzalo Ortiz
08/18/2023, 2:50 PMvmarchaud
08/18/2023, 2:51 PMvmarchaud
08/18/2023, 2:51 PMvmarchaud
08/18/2023, 2:51 PMGonzalo Ortiz
08/18/2023, 2:52 PMvmarchaud
08/18/2023, 2:54 PMvmarchaud
08/18/2023, 3:06 PMvmarchaud
08/18/2023, 3:07 PMGonzalo Ortiz
08/18/2023, 3:17 PMunzip -p build/lib/pinot-all-0.13.0-SNAPSHOT-jar-with-dependencies.jar META-INF/services/org.apache.pinot.segment.spi.index.IndexPlugin
in the pinot git root folder?Gonzalo Ortiz
08/18/2023, 3:17 PMunzip -p lib/pinot-all-0.13.0-SNAPSHOT-jar-with-dependencies.jar META-INF/services/org.apache.pinot.segment.spi.index.IndexPlugin
in the root folder of that distributionGonzalo Ortiz
08/18/2023, 3:19 PM.github/workflows/scripts/.pinot_quickstart.sh with the jdk you linked here and it seems to be workingGonzalo Ortiz
08/18/2023, 3:19 PM> unzip -p build/lib/pinot-all-0.13.0-SNAPSHOT-jar-with-dependencies.jar META-INF/services/org.apache.pinot.segment.spi.index.IndexPlugin
org.apache.pinot.segment.local.segment.index.bloom.BloomIndexPlugin
org.apache.pinot.segment.local.segment.index.dictionary.DictionaryIndexPlugin
org.apache.pinot.segment.local.segment.index.forward.ForwardIndexPlugin
org.apache.pinot.segment.local.segment.index.fst.FstIndexPlugin
org.apache.pinot.segment.local.segment.index.h3.H3IndexPlugin
org.apache.pinot.segment.local.segment.index.inverted.InvertedIndexPlugin
org.apache.pinot.segment.local.segment.index.json.JsonIndexPlugin
org.apache.pinot.segment.local.segment.index.nullvalue.NullValueIndexPlugin
org.apache.pinot.segment.local.segment.index.range.RangeIndexPlugin
org.apache.pinot.segment.local.segment.index.text.TextIndexPluginvmarchaud
08/18/2023, 3:20 PMcaution: filename not matched: META-INF/services/org.apache.pinot.segment.spi.index.IndexPluginGonzalo Ortiz
08/18/2023, 3:20 PMGonzalo Ortiz
08/18/2023, 3:20 PMGonzalo Ortiz
08/18/2023, 3:21 PMvmarchaud
08/18/2023, 3:21 PMvmarchaud
08/18/2023, 3:23 PMvmarchaud
08/18/2023, 3:23 PMvmarchaud
08/18/2023, 3:24 PMvmarchaud
08/18/2023, 3:28 PMGonzalo Ortiz
08/18/2023, 3:29 PMbuild folder in the root repo should be a soft link to pinot-distribution/target/apache-pinot-0.13.0-SNAPSHOT-bin/apache-pinot-0.13.0-SNAPSHOT-binvmarchaud
08/18/2023, 3:30 PMvmarchaud
08/18/2023, 3:31 PMopenjdk 11.0.20 2023-07-18 LTS
OpenJDK Runtime Environment Corretto-11.0.20.8.1 (build 11.0.20+8-LTS)
OpenJDK 64-Bit Server VM Corretto-11.0.20.8.1 (build 11.0.20+8-LTS, mixed mode)Gonzalo Ortiz
08/18/2023, 3:32 PMGonzalo Ortiz
08/18/2023, 3:32 PMGonzalo Ortiz
08/18/2023, 3:33 PMGonzalo Ortiz
08/18/2023, 3:33 PMvmarchaud
08/18/2023, 3:35 PMvmarchaud
08/18/2023, 3:35 PMpinot-distribution when installing in our prod serversGonzalo Ortiz
08/18/2023, 3:36 PMpinot-distribution/target/apache-pinot-0.13.0-SNAPSHOT-bin/apache-pinot-0.13.0-SNAPSHOT-bin/lib/pinot-all-0.13.0-SNAPSHOT-jar-with-dependencies.jar , relative to the git root foldervmarchaud
08/18/2023, 3:36 PMvmarchaud
08/18/2023, 3:36 PMmvn install package -DskipTests -Pbin-dist -Pbuild-shaded-jar -Djdk.version=11 -T1Cvmarchaud
08/18/2023, 3:37 PMGonzalo Ortiz
08/18/2023, 3:37 PMvmarchaud
08/18/2023, 3:39 PMGonzalo Ortiz
08/18/2023, 3:39 PMvmarchaud
08/18/2023, 3:40 PMvmarchaud
08/18/2023, 3:40 PMvmarchaud
08/18/2023, 3:40 PMGonzalo Ortiz
08/18/2023, 3:41 PMGonzalo Ortiz
08/18/2023, 3:41 PMopenjdk 11.0.19 2023-04-18
OpenJDK Runtime Environment Temurin-11.0.19+7 (build 11.0.19+7)
OpenJDK 64-Bit Server VM Temurin-11.0.19+7 (build 11.0.19+7, mixed mode)
but tbh I wouldn't think the issue is the jdkvmarchaud
08/18/2023, 3:42 PMvmarchaud
08/18/2023, 3:43 PMGonzalo Ortiz
08/18/2023, 3:48 PMunzip -p pinot-segment-local/target/pinot-segment-local-0.13.0-SNAPSHOT.jar META-INF/services/org.apache.pinot.segment.spi.index.IndexPlugin
from the git root?vmarchaud
08/18/2023, 3:52 PMGonzalo Ortiz
08/18/2023, 3:52 PM/pom.xml (again, in the repo root) and modify the auto-service to remove the optional attribute? It is in line 431 in mastervmarchaud
08/18/2023, 3:53 PMvmarchaud
08/18/2023, 3:53 PMvmarchaud
08/18/2023, 3:53 PMGonzalo Ortiz
08/18/2023, 3:54 PMthey are in the segment-local meta-infthey are? that is more strange. Then I don't think auto-service is the issue
Gonzalo Ortiz
08/18/2023, 3:54 PMvmarchaud
08/18/2023, 3:54 PMGonzalo Ortiz
08/18/2023, 4:01 PMmvn clean
git checkout master
mvn install package -DskipTests -Pbin-dist -Pbuild-shaded-jar -Djdk.version=11 -T1C
And when you execute
unzip -p pinot-segment-local/target/pinot-segment-local-0.13.0-SNAPSHOT.jar META-INF/services/org.apache.pinot.segment.spi.index.IndexPlugin
you get
org.apache.pinot.segment.local.segment.index.bloom.BloomIndexPlugin
org.apache.pinot.segment.local.segment.index.dictionary.DictionaryIndexPlugin
org.apache.pinot.segment.local.segment.index.forward.ForwardIndexPlugin
org.apache.pinot.segment.local.segment.index.fst.FstIndexPlugin
org.apache.pinot.segment.local.segment.index.h3.H3IndexPlugin
org.apache.pinot.segment.local.segment.index.inverted.InvertedIndexPlugin
org.apache.pinot.segment.local.segment.index.json.JsonIndexPlugin
org.apache.pinot.segment.local.segment.index.nullvalue.NullValueIndexPlugin
org.apache.pinot.segment.local.segment.index.range.RangeIndexPlugin
org.apache.pinot.segment.local.segment.index.text.TextIndexPlugin
but when you execute
unzip -p build/lib/pinot-all-0.13.0-SNAPSHOT-jar-with-dependencies.jar META-INF/services/org.apache.pinot.segment.spi.index.IndexPlugin
you get
caution: filename not matched: META-INF/services/org.apache.pinot.segment.spi.index.IndexPlugin
right?vmarchaud
08/18/2023, 4:02 PMunzip -p build/lib/pinot-all-0.13.0-SNAPSHOT-jar-with-dependencies.jar META-INF/services/org.apache.pinot.segment.spi.index.IndexPlugin when the whole compilation finishes