Satish Mittal
06/02/2023, 1:49 PMlucene
based text index
on one column and ran into the following error:
2023/06/02 13:03:25.464 WARN [viewName_REALTIME-RealtimeTableDataManager] [HelixTaskExecutor-message_handle_thread_25] Failed to download segment viewName__1__9294__20230602T1151Z from deep store:
java.lang.RuntimeException: java.lang.RuntimeException: Caught exception while instantiating the LuceneTextIndexCreator for column: columnName
at org.apache.pinot.core.data.manager.realtime.RealtimeTableDataManager.replaceLLSegment(RealtimeTableDataManager.java:552) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.core.data.manager.realtime.RealtimeTableDataManager.untarAndMoveSegment(RealtimeTableDataManager.java:493) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.core.data.manager.realtime.RealtimeTableDataManager.downloadSegmentFromDeepStore(RealtimeTableDataManager.java:471) [pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.core.data.manager.realtime.RealtimeTableDataManager.downloadAndReplaceSegment(RealtimeTableDataManager.java:440) [pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.core.data.manager.realtime.LLRealtimeSegmentDataManager.downloadSegmentAndReplace(LLRealtimeSegmentDataManager.java:1201) [pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.core.data.manager.realtime.LLRealtimeSegmentDataManager.goOnlineFromConsuming(LLRealtimeSegmentDataManager.java:1188) [pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.server.starter.helix.SegmentOnlineOfflineStateModelFactory$SegmentOnlineOfflineStateModel.onBecomeOnlineFromConsuming(SegmentOnlineOfflineStateModelFactory.java:112) [pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at jdk.internal.reflect.GeneratedMethodAccessor424.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
at org.apache.helix.messaging.handling.HelixStateTransitionHandler.invoke(HelixStateTransitionHandler.java:350) [pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.helix.messaging.handling.HelixStateTransitionHandler.handleMessage(HelixStateTransitionHandler.java:278) [pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.helix.messaging.handling.HelixTask.call(HelixTask.java:97) [pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.helix.messaging.handling.HelixTask.call(HelixTask.java:49) [pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
Caused by: java.lang.RuntimeException: Caught exception while instantiating the LuceneTextIndexCreator for column: columnName
at org.apache.pinot.segment.local.segment.creator.impl.text.LuceneTextIndexCreator.<init>(LuceneTextIndexCreator.java:113) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.segment.local.segment.creator.impl.DefaultIndexCreatorProvider.newTextIndexCreator(DefaultIndexCreatorProvider.java:164) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.segment.spi.index.IndexingOverrides$Default.newTextIndexCreator(IndexingOverrides.java:191) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.segment.local.segment.index.loader.invertedindex.TextIndexHandler.createTextIndexForColumn(TextIndexHandler.java:188) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.segment.local.segment.index.loader.invertedindex.TextIndexHandler.updateIndices(TextIndexHandler.java:140) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.segment.local.segment.index.loader.SegmentPreProcessor.process(SegmentPreProcessor.java:112) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.segment.local.indexsegment.immutable.ImmutableSegmentLoader.preprocessSegment(ImmutableSegmentLoader.java:267) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.segment.local.indexsegment.immutable.ImmutableSegmentLoader.preprocess(ImmutableSegmentLoader.java:143) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.segment.local.indexsegment.immutable.ImmutableSegmentLoader.load(ImmutableSegmentLoader.java:110) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.segment.local.indexsegment.immutable.ImmutableSegmentLoader.load(ImmutableSegmentLoader.java:92) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.core.data.manager.BaseTableDataManager.addSegment(BaseTableDataManager.java:222) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.core.data.manager.realtime.RealtimeTableDataManager.replaceLLSegment(RealtimeTableDataManager.java:550) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
... 17 more
Caused by: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/pinot/server/data/index/viewName_REALTIME/viewName__1__9294__20230602T1151Z/v3/columnName.lucene.index/write.lock
at org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:139) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:729) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.segment.local.segment.creator.impl.text.LuceneTextIndexCreator.<init>(LuceneTextIndexCreator.java:111) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.segment.local.segment.creator.impl.DefaultIndexCreatorProvider.newTextIndexCreator(DefaultIndexCreatorProvider.java:164) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.segment.spi.index.IndexingOverrides$Default.newTextIndexCreator(IndexingOverrides.java:191) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.segment.local.segment.index.loader.invertedindex.TextIndexHandler.createTextIndexForColumn(TextIndexHandler.java:188) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.segment.local.segment.index.loader.invertedindex.TextIndexHandler.updateIndices(TextIndexHandler.java:140) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.segment.local.segment.index.loader.SegmentPreProcessor.process(SegmentPreProcessor.java:112) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.segment.local.indexsegment.immutable.ImmutableSegmentLoader.preprocessSegment(ImmutableSegmentLoader.java:267) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.segment.local.indexsegment.immutable.ImmutableSegmentLoader.preprocess(ImmutableSegmentLoader.java:143) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.segment.local.indexsegment.immutable.ImmutableSegmentLoader.load(ImmutableSegmentLoader.java:110) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.segment.local.indexsegment.immutable.ImmutableSegmentLoader.load(ImmutableSegmentLoader.java:92) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.core.data.manager.BaseTableDataManager.addSegment(BaseTableDataManager.java:222) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
at org.apache.pinot.core.data.manager.realtime.RealtimeTableDataManager.replaceLLSegment(RealtimeTableDataManager.java:550) ~[pinot-all-hypertrace-0.12.0-5-shaded.jar:0.12.0-06acc7c10dc7a30a35e713da60fd9516e7efd1be]
... 17 more
Has anyone seen this issue? Is it a known issue?Mariel Freyre
06/02/2023, 8:12 PMbin/pinot-admin.sh LaunchDataIngestionJob \ -jobSpecFile configs/job_spec.yaml
to kick off the job ingestion. I got this error:
Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:513)
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:525)
Caused by: java.net.BindException: Address already in use
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:459)
at java.base/sun.nio.ch.Net.bind(Net.java:448)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227)
at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80)
at jdk.httpserver/sun.net.httpserver.ServerImpl.bind(ServerImpl.java:134)
at jdk.httpserver/sun.net.httpserver.HttpServerImpl.bind(HttpServerImpl.java:54)
at io.prometheus.jmx.shaded.io.prometheus.client.exporter.HTTPServer.<init>(HTTPServer.java:145)
at io.prometheus.jmx.shaded.io.prometheus.jmx.JavaAgent.premain(JavaAgent.java:31)
... 6 more
*** java.lang.instrument ASSERTION FAILED ***: "result" with message agent load/premain call failed at src/java.instrument/share/native/libinstrument/JPLISAgent.c line: 422
FATAL ERROR in native method: processing of -javaagent failed, processJavaStart failed
Aborted (core dumped)
Scott deRegt
06/02/2023, 10:13 PMpinot
. I'm having issues with bootstrapping server
pods where Server
pods log message that they have successfully started, yet Broker
pods are getting `ConnectionTimeoutException`s trying to reach them. Any tips to help troubleshoot why a new node is not successfully connecting to the cluster?Raveendra Yerraguntla
06/04/2023, 12:48 PMCaesar Yao
06/05/2023, 3:29 AMUtkarsh
06/05/2023, 5:50 AMsystem.query_log
and i can query in it like below:
select avg(query_duration_ms) from system.query_log
where match(query, 'from reels.view2')
and `type` = 'QueryFinish'
Satish Mittal
06/05/2023, 6:05 AMSIGSEGV
soon after we enabled lucene based text index
on one column. Here is one such instance:
2023/06/05 10:57:24.157 INFO [MutableSegmentImpl_viewName__1__9363__20230605T0929Z_view-name] [HelixTaskExecutor-message_handle_thread_30] Trying to close RealtimeSegmentImpl : viewName__1__9363__20230605T0929Z
2023/06/05 10:57:24.157 INFO [MutableSegmentImpl_viewName__1__9363__20230605T0929Z_view-name] [HelixTaskExecutor-message_handle_thread_30] Segment used 4547528251 bytes of memory for 2525493 rows consumed in 5275 seconds
2023/06/05 10:57:24.219 INFO [MmapMemoryManager] [HelixTaskExecutor-message_handle_thread_30] Closing buffer org.apache.pinot.segment.spi.memory.PinotByteBuffer@51be6026
2023/06/05 10:57:24.237 INFO [MmapMemoryManager] [HelixTaskExecutor-message_handle_thread_30] Closing buffer org.apache.pinot.segment.spi.memory.PinotByteBuffer@243b600e
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f5aeb45d676, pid=1, tid=5080
#
# JRE version: OpenJDK Runtime Environment Temurin-11.0.18+10 (11.0.18+10) (build 11.0.18+10)
# Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.18+10 (11.0.18+10, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# J 8576 c2 java.nio.DirectByteBuffer.getInt(I)I java.base@11.0.18 (28 bytes) @ 0x00007f5aeb45d676 [0x00007f5aeb45d620+0x0000000000000056]
#
# Core dump will be written. Default location: /core.%e.1.%t
#
# An error report file with more information is saved as:
# /opt/pinot/hs_err_pid1.log
2023/06/05 10:57:24.247 INFO [MmapMemoryManager] [HelixTaskExecutor-message_handle_thread_30] Closing buffer org.apache.pinot.segment.spi.memory.PinotByteBuffer@5b5aed94
2023/06/05 10:57:24.255 INFO [MmapMemoryManager] [HelixTaskExecutor-message_handle_thread_30] Closing buffer org.apache.pinot.segment.spi.memory.PinotByteBuffer@79c70989
2023/06/05 10:57:24.260 INFO [MmapMemoryManager] [HelixTaskExecutor-message_handle_thread_30] Closing buffer org.apache.pinot.segment.spi.memory.PinotByteBuffer@15e05ae4
2023/06/05 10:57:24.263 INFO [MmapMemoryManager] [HelixTaskExecutor-message_handle_thread_30] Closing buffer org.apache.pinot.segment.spi.memory.PinotByteBuffer@fbfbe40
2023/06/05 10:57:24.281 INFO [MmapMemoryManager] [HelixTaskExecutor-message_handle_thread_30] Closing buffer org.apache.pinot.segment.spi.memory.PinotByteBuffer@68f9d3aa
2023/06/05 10:57:24.288 INFO [MmapMemoryManager] [HelixTaskExecutor-message_handle_thread_30] Closing buffer org.apache.pinot.segment.spi.memory.PinotByteBuffer@74c98f35
2023/06/05 10:57:24.289 INFO [MmapMemoryManager] [HelixTaskExecutor-message_handle_thread_30] Closing buffer org.apache.pinot.segment.spi.memory.PinotByteBuffer@283a45ea
2023/06/05 10:57:24.331 INFO [MmapMemoryManager] [HelixTaskExecutor-message_handle_thread_30] Deleted file /var/pinot/server/data/index/viewName_REALTIME/consumers/viewName__1__9363__20230605T0929Z.0
2023/06/05 10:57:24.390 INFO [MmapMemoryManager] [HelixTaskExecutor-message_handle_thread_30] Deleted file /var/pinot/server/data/index/viewName_REALTIME/consumers/viewName__1__9363__20230605T0929Z.1
2023/06/05 10:57:24.426 INFO [MmapMemoryManager] [HelixTaskExecutor-message_handle_thread_30] Deleted file /var/pinot/server/data/index/viewName_REALTIME/consumers/viewName__1__9363__20230605T0929Z.2
Compiled method (c2) 7597812 28400 4 org.apache.pinot.segment.local.realtime.impl.dictionary.StringOffHeapMutableDictionary::get (6 bytes)
total in heap [0x00007f5aec681090,0x00007f5aec682058] = 4040
relocation [0x00007f5aec681208,0x00007f5aec681290] = 136
main code [0x00007f5aec6812a0,0x00007f5aec6819c0] = 1824
stub code [0x00007f5aec6819c0,0x00007f5aec6819f8] = 56
oops [0x00007f5aec6819f8,0x00007f5aec681a00] = 8
metadata [0x00007f5aec681a00,0x00007f5aec681a90] = 144
scopes data [0x00007f5aec681a90,0x00007f5aec681d40] = 688
scopes pcs [0x00007f5aec681d40,0x00007f5aec681f20] = 480
dependencies [0x00007f5aec681f20,0x00007f5aec681f30] = 16
handler table [0x00007f5aec681f30,0x00007f5aec681fc0] = 144
nul chk table [0x00007f5aec681fc0,0x00007f5aec682058] = 152
Compiled method (c2) 7597812 35340 4 org.apache.pinot.segment.local.segment.creator.impl.SegmentColumnarIndexCreator::indexRow (2005 bytes)
total in heap [0x00007f5aecefd910,0x00007f5aecf0fab0] = 74144
relocation [0x00007f5aecefda88,0x00007f5aecefe318] = 2192
main code [0x00007f5aecefe320,0x00007f5aecf09e80] = 47968
stub code [0x00007f5aecf09e80,0x00007f5aecf0a228] = 936
oops [0x00007f5aecf0a228,0x00007f5aecf0a278] = 80
metadata [0x00007f5aecf0a278,0x00007f5aecf0a5b0] = 824
scopes data [0x00007f5aecf0a5b0,0x00007f5aecf0d6d8] = 12584
scopes pcs [0x00007f5aecf0d6d8,0x00007f5aecf0edb8] = 5856
dependencies [0x00007f5aecf0edb8,0x00007f5aecf0edf8] = 64
handler table [0x00007f5aecf0edf8,0x00007f5aecf0f818] = 2592
nul chk table [0x00007f5aecf0f818,0x00007f5aecf0fab0] = 664
Compiled method (c2) 7597813 28753 4 org.apache.pinot.segment.spi.index.mutable.MutableForwardIndex::getDictId (8 bytes)
total in heap [0x00007f5aec081510,0x00007f5aec081c78] = 1896
relocation [0x00007f5aec081688,0x00007f5aec0816c8] = 64
main code [0x00007f5aec0816e0,0x00007f5aec081940] = 608
stub code [0x00007f5aec081940,0x00007f5aec081958] = 24
oops [0x00007f5aec081958,0x00007f5aec081960] = 8
metadata [0x00007f5aec081960,0x00007f5aec0819d0] = 112
scopes data [0x00007f5aec0819d0,0x00007f5aec081af8] = 296
scopes pcs [0x00007f5aec081af8,0x00007f5aec081c18] = 288
dependencies [0x00007f5aec081c18,0x00007f5aec081c28] = 16
handler table [0x00007f5aec081c28,0x00007f5aec081c40] = 24
nul chk table [0x00007f5aec081c40,0x00007f5aec081c78] = 56
Has anyone faced this issue earlier? Any thoughts regarding potential root cause and resolution is greatly appreciated.
cc @Mayank @Atri SharmaEhsan Irshad
06/05/2023, 6:32 AMPappu Yadav
06/05/2023, 10:07 AMChris Han
06/05/2023, 11:04 AMSET timeoutMs=30000;
SET useMultistageEngine=true;
select * from $table limit 10
This is the exception from the server logs
SEVERE: Exception while executing runnable io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1MessagesAvailable@78073e1f
io.grpc.StatusRuntimeException: INTERNAL: Invalid protobuf byte sequence
at io.grpc.Status.asRuntimeException(Status.java:530)
at io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller.parse(ProtoLiteUtils.java:218)
at io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller.parse(ProtoLiteUtils.java:118)
at io.grpc.MethodDescriptor.parseRequest(MethodDescriptor.java:307)
at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.messagesAvailableInternal(ServerCallImpl.java:333)
at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.messagesAvailable(ServerCallImpl.java:316)
at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1MessagesAvailable.runInContext(ServerImpl.java:835)
at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133)
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)
Caused by: com.google.protobuf.InvalidProtocolBufferException: Protocol message end-group tag did not match expected tag.
at com.google.protobuf.InvalidProtocolBufferException.invalidEndTag(InvalidProtocolBufferException.java:137)
at com.google.protobuf.CodedInputStream$ArrayDecoder.checkLastTagWas(CodedInputStream.java:638)
at com.google.protobuf.CodedInputStream$ArrayDecoder.readMessage(CodedInputStream.java:868)
at org.apache.pinot.common.proto.Worker$StagePlan$Builder.mergeFrom(Worker.java:3135)
at org.apache.pinot.common.proto.Worker$StagePlan$1.parsePartialFrom(Worker.java:3469)
at org.apache.pinot.common.proto.Worker$StagePlan$1.parsePartialFrom(Worker.java:3461)
at com.google.protobuf.CodedInputStream$ArrayDecoder.readMessage(CodedInputStream.java:883)
at org.apache.pinot.common.proto.Worker$QueryRequest$Builder.mergeFrom(Worker.java:1433)
at org.apache.pinot.common.proto.Worker$QueryRequest$1.parsePartialFrom(Worker.java:1871)
at org.apache.pinot.common.proto.Worker$QueryRequest$1.parsePartialFrom(Worker.java:1863)
at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:86)
at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:48)
at io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller.parseFrom(ProtoLiteUtils.java:223)
at io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller.parse(ProtoLiteUtils.java:215)
... 10 more
And the output from the query console is above
[
{
"errorCode": 200,
"message": "QueryExecutionError:\njava.lang.RuntimeException: Error executing query: [0]@pinot-broker-0.pinot-broker-headless.pinot-dev-02.svc.cluster.local:40289 MAIL_RECEIVE(RANDOM_DISTRIBUTED)\n├── [1]@10.193.4.169:39021 MAIL_SEND(RANDOM_DISTRIBUTED)->{[0]@pinot-broker-0.pinot-broker-headless.pinot-dev-02.svc.cluster.local@{40289,40289}|[0]} (Subtree Omitted)\n├── [1]@10.193.1.220:42431 MAIL_SEND(RANDOM_DISTRIBUTED)->{[0]@pinot-broker-0.pinot-broker-headless.pinot-dev-02.svc.cluster.local@{40289,40289}|[0]} (Subtree Omitted)\n├── [1]@10.193.7.222:38803 MAIL_SEND(RANDOM_DISTRIBUTED)->{[0]@pinot-broker-0.pinot-broker-headless.pinot-dev-02.svc.cluster.local@{40289,40289}|[0]} (Subtree Omitted)\n├── [1]@10.193.4.40:42057 MAIL_SEND(RANDOM_DISTRIBUTED)->{[0]@pinot-broker-0.pinot-broker-headless.pinot-dev-02.svc.cluster.local@{40289,40289}|[0]} (Subtree Omitted)\n...\nCaused by: java.lang.RuntimeException: Error dispatching query to server=10.193.3.243@{38573,38853} stage=1\n\tat org.apache.pinot.query.service.dispatch.QueryDispatcher.submit(QueryDispatcher.java:170)\n\tat org.apache.pinot.query.service.dispatch.QueryDispatcher.submitAndReduce(QueryDispatcher.java:92)\n\t... 29 more\nCaused by: io.grpc.StatusRuntimeException: UNKNOWN\n\tat io.grpc.Status.asRuntimeException(Status.java:539)\n\tat io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onClose(ClientCalls.java:487)\n\tat io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:576)\n\tat io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:70)"
}
]
Tommaso Peresson
06/05/2023, 3:51 PMPappu Yadav
06/06/2023, 7:09 AMThe number of partitions in input streams determines the partition numbers of the Pinot table. The more partitions you have in input topic/stream, more Pinot servers you can distribute the Pinot table to and therefore more you can scale the table horizontally. Do note that you can't increase the partitions in future for upsert enabled tables so you need to start with good enough partitions (atleast 2-3X the number of pinot servers)
What does this statement means
1. Can we increase our server count in future or not
2. Can we increase kafka partitions or notLvszn Peng
06/06/2023, 7:12 AMselect * FROM limbus_monitor
WHERE first_time < 1683275400
AND company_id != ''
AND company_id != 'null'
GROUP BY 1 OPTION(timeoutMs=80000)
When broker timeout = 60s, Query timeout = 80s, it will timeout after 60s. But I set Query timeout = 10ms, it will timeout after 10ms. Is the behavior of timeout like what I say?Dugi Sarma
06/06/2023, 9:08 PMPratik Tibrewal
06/06/2023, 10:34 PMPappu Yadav
06/07/2023, 5:28 AMTommaso Peresson
06/07/2023, 10:02 AM"schedule"
in the task config was? Do I need to perform additional steps to do that?Jonathan Lamiel
06/07/2023, 12:37 PMset timeoutMs=200000;
SELECT
col1,
col2,
col3
FROM big_table
INNER JOIN small_table ON small_table.ids in ('ABC','DEF','IJK') and small_table.codes = big_table.codes
WHERE (low_cadilanity_col in ('XYZ') or low_cadilanity_col is null)
This works well between 15 to 20 seconds but we would like to see if we could improve that speed. (We tried different indexes but nothing that made it better.) Any idea how we could improve that?Raveendra Yerraguntla
06/07/2023, 10:26 PMZhengfei
06/08/2023, 3:19 AMschema.yml
"primaryKeyColumns": ["order_id"],
and table.yml
"upsertConfig": {
"mode": "FULL",
"comparisonColumn": "updated_at",
"hashFunction": "NONE",
"enableSnapshot": true
},
"routing": {
"instanceSelectorType": "strictReplicaGroup",
"segmentPrunerTypes": [
"time"
]
},
Eric Liu
06/08/2023, 7:49 AMcomparisonColumn
. However, when I try the multiple comparison columns config comparisonColumns
, the upsert behavior wasn’t happening, then i figured out the comparisonColumns
wasn’t showing up in the table configs in the Pinot UI, though when I created the table no error reported as expected. What could have the comparisonColumns
missing the in the table configs?parth
06/08/2023, 9:21 AMTommaso Peresson
06/08/2023, 9:32 AMSession 0x20070c6a80f003d for sever pinot-prod-zookeeper/172.22.65.152:2181, Closing socket connection. Attempting reconnect except it is a SessionExpiredException.
java.io.IOException: Packet len 1201140 is out of range! at org.apache.zookeeper.ClientCnxnSocket.readLength(ClientCnxnSocket.java:121)
I’ve tried to increase -Djute.maxbuffer=1000000
on zookeeper but it didn’t help. I’m running pinot and zookeeper on a GKE cluster on GCP. Did anybody ever faced this?Pappu Yadav
06/08/2023, 11:22 AMSid
06/08/2023, 12:18 PMDeena Dhayalan
06/08/2023, 12:35 PMDugi Sarma
06/08/2023, 4:54 PMabhinav wagle
06/09/2023, 12:11 AM{
"code": 409,
"error": "Table config for <tablename> already exists. If this is unexpected, try deleting the table to remove all metadata associated with it."
}
Bruno Mendes
06/09/2023, 9:26 PM"sasl.jaas.config"
info),
or to achieve only by using the broker endpoint...
Thanks!Lvszn Peng
06/12/2023, 9:10 AM